summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2001-11-29 08:20:50 +0000
committeritojun <itojun@openbsd.org>2001-11-29 08:20:50 +0000
commite9844283c586948e5a2b68fb7ec7649668a815a7 (patch)
treee7972e02536e54e5e3f54bb619aab0d890f850e9
parentFix for thinko that was caught in code review, error was found 3x, however (diff)
downloadwireguard-openbsd-e9844283c586948e5a2b68fb7ec7649668a815a7.tar.xz
wireguard-openbsd-e9844283c586948e5a2b68fb7ec7649668a815a7.zip
etherip_output() is called from in_gif.c, therefore is outside of #ifdef IPSEC
-rw-r--r--sys/netinet/ip_ether.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/ip_ether.c b/sys/netinet/ip_ether.c
index 8337b755696..3dbbd91fd4d 100644
--- a/sys/netinet/ip_ether.c
+++ b/sys/netinet/ip_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ether.c,v 1.35 2001/07/27 15:48:38 itojun Exp $ */
+/* $OpenBSD: ip_ether.c,v 1.36 2001/11/29 08:20:50 itojun Exp $ */
/*
* The author of this code is Angelos D. Keromytis (kermit@adk.gr)
*
@@ -270,7 +270,6 @@ etherip_input(m, va_alist)
return;
}
-#ifdef IPSEC
int
etherip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip,
int protoff)
@@ -410,7 +409,6 @@ etherip_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip,
return 0;
}
-#endif /* IPSEC */
int
etherip_sysctl(name, namelen, oldp, oldlenp, newp, newlen)