summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1997-07-23 20:20:10 +0000
committermickey <mickey@openbsd.org>1997-07-23 20:20:10 +0000
commited7238603e0882e8e5e20532fe93ea0cf18a9b60 (patch)
treeb8f7d9a75e74a541e739d15e8a973280117b7d6d
parenttabify (diff)
downloadwireguard-openbsd-ed7238603e0882e8e5e20532fe93ea0cf18a9b60.tar.xz
wireguard-openbsd-ed7238603e0882e8e5e20532fe93ea0cf18a9b60.zip
make it compile w/o NETATALK defined
-rw-r--r--sys/net/if_ethersubr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 708c9ce7a81..e145dae24af 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.19 1997/07/23 16:13:26 denny Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.20 1997/07/23 20:20:10 mickey Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -525,6 +525,7 @@ decapsulate:
l = mtod(m, struct llc *);
switch (l->llc_dsap) {
case LLC_SNAP_LSAP:
+#ifdef NETATALK
/*
* Some protocols (like Appletalk) need special
* handling depending on if they are type II
@@ -543,7 +544,7 @@ decapsulate:
schednetisr(NETISR_ATALK);
break;
}
-
+#endif /* NETATALK */
if (l->llc_control == LLC_UI &&
l->llc_ssap == LLC_SNAP_LSAP &&
Bcmp(&(l->llc_snap_org_code)[0],