summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorangelos <angelos@openbsd.org>2001-09-04 00:57:44 +0000
committerangelos <angelos@openbsd.org>2001-09-04 00:57:44 +0000
commit12702ab5c998575c08f8946c34007c284992e25a (patch)
tree2252d6e472750221fc6a2c24f445ef0ea299affd
parentZero pages before handing them over to the VM layer. (diff)
downloadwireguard-openbsd-12702ab5c998575c08f8946c34007c284992e25a.tar.xz
wireguard-openbsd-12702ab5c998575c08f8946c34007c284992e25a.zip
Make it compile without option BPF.
-rw-r--r--sys/netinet/ip_gre.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_gre.c b/sys/netinet/ip_gre.c
index 67bd49b66ad..7045ae0b825 100644
--- a/sys/netinet/ip_gre.c
+++ b/sys/netinet/ip_gre.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_gre.c,v 1.11 2001/06/19 00:48:23 deraadt Exp $ */
+/* $OpenBSD: ip_gre.c,v 1.12 2001/09/04 00:57:44 angelos Exp $ */
/* $NetBSD: ip_gre.c,v 1.9 1999/10/25 19:18:11 drochner Exp $ */
/*
@@ -270,7 +270,6 @@ gre_mobile_input(m, va_alist)
va_list ap;
u_char osrc = 0;
int msiz;
- u_int af = AF_INET;
va_start(ap,m);
hlen = va_arg(ap, int);
@@ -330,6 +329,7 @@ gre_mobile_input(m, va_alist)
* try to free it or keep a pointer a to it).
*/
struct mbuf m0;
+ u_int af = AF_INET;
m0.m_next = m;
m0.m_len = 4;