summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_output.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-19 18:42:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-05-19 18:42:02 +0000
commitab02a56adaeac11b7f36fa6fbeeaa0ce04583635 (patch)
tree608c4c9e67253ad708741c1f428a04780ae96b72 /sys/netinet/ip_output.c
parent5e473274209c1114bb27f9521eed86f56a7e38e7 (diff)
Wall for non-IPSEC case
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r--sys/netinet/ip_output.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index 6f2a8534daf..bcb20a3b076 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_output.c,v 1.27 1998/05/18 21:11:02 provos Exp $ */
+/* $OpenBSD: ip_output.c,v 1.28 1998/05/19 18:42:01 deraadt Exp $ */
/* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */
/*
@@ -830,7 +830,9 @@ ip_ctloutput(op, so, level, optname, mp)
register struct inpcb *inp = sotoinpcb(so);
register struct mbuf *m = *mp;
register int optval = 0;
+#ifdef IPSEC
struct proc *p = curproc; /* XXX */
+#endif
int error = 0;
if (level != IPPROTO_IP) {