summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-05-24 16:00:02 +0000
committerderaadt <deraadt@openbsd.org>2005-05-24 16:00:02 +0000
commit542cd87c04b8a612e81b7a9705975a423f6f20a5 (patch)
tree16997cbe6a743bbd22082b7bc428827b154d1a81
parentUse comma only to separate facilities on the same level. Sort selector (diff)
downloadwireguard-openbsd-542cd87c04b8a612e81b7a9705975a423f6f20a5.tar.xz
wireguard-openbsd-542cd87c04b8a612e81b7a9705975a423f6f20a5.zip
let ramdisks compile again. people -- please always try to compile with your new options off, too
-rw-r--r--sys/net/if_ethersubr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 08f93d7425e..d6d80df64dd 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.91 2005/05/24 07:51:53 reyk Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.92 2005/05/24 16:00:02 deraadt Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -612,9 +612,12 @@ ether_input(ifp, eh, m)
{
struct ifqueue *inq;
u_int16_t etype;
- int s, llcfound = 0, i = 0;
+ int s, llcfound = 0;
struct llc *l;
struct arpcom *ac;
+#if NTRUNK > 0
+ i = 0;
+#endif
#if NPPPOE > 0
struct ether_header *eh_tmp;
#endif