LINT build test. Aggregated source code adjustments to bring most of the
[dragonfly.git] / sys / netinet / ip_output.c
index f453153..cc83352 100644 (file)
@@ -32,7 +32,7 @@
  *
  *     @(#)ip_output.c 8.3 (Berkeley) 1/21/94
  * $FreeBSD: src/sys/netinet/ip_output.c,v 1.99.2.37 2003/04/15 06:44:45 silby Exp $
- * $DragonFly: src/sys/netinet/ip_output.c,v 1.3 2003/06/25 03:56:04 dillon Exp $
+ * $DragonFly: src/sys/netinet/ip_output.c,v 1.4 2003/07/21 07:57:48 dillon Exp $
  */
 
 #define _IP_VHL
@@ -1459,8 +1459,8 @@ ip_ctloutput(so, sopt)
                                break;
                        if ((error = soopt_mcopyin(sopt, m)) != 0) /* XXX */
                                break;
-                       priv = (sopt->sopt_p != NULL &&
-                               suser(sopt->sopt_p->p_thread) != 0) ? 0 : 1;
+                       priv = (sopt->sopt_td != NULL &&
+                               suser(sopt->sopt_td) != 0) ? 0 : 1;
                        req = mtod(m, caddr_t);
                        len = m->m_len;
                        optname = sopt->sopt_name;