summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authordenny <denny@cvs.openbsd.org>1997-07-23 16:13:27 +0000
committerdenny <denny@cvs.openbsd.org>1997-07-23 16:13:27 +0000
commit7112852f5de062ea9bdfce13107b2643945efdbd (patch)
tree66ed31033cd76942af0a34d5181c768fcde25c73 /sys/net
parent7abf03a44ddc1d3acda145ab2d015c290eaf66b3 (diff)
A block of code from the last commit was not #ifdef NETATALK.
Diffstat (limited to 'sys/net')
-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 36f1b0e20cb..708c9ce7a81 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ethersubr.c,v 1.18 1997/07/23 03:46:01 denny Exp $ */
+/* $OpenBSD: if_ethersubr.c,v 1.19 1997/07/23 16:13:26 denny Exp $ */
/* $NetBSD: if_ethersubr.c,v 1.19 1996/05/07 02:40:30 thorpej Exp $ */
/*
@@ -532,6 +532,7 @@ decapsulate:
* gets handled by stripping off the SNAP header
* and going back up to decapsulate.
*/
+#ifdef NETATALK
if (l->llc_control == LLC_UI &&
l->llc_ssap == LLC_SNAP_LSAP &&
Bcmp(&(l->llc_snap_org_code)[0],
@@ -553,7 +554,7 @@ decapsulate:
aarpinput((struct arpcom *)ifp, m);
return;
}
-
+#endif
if (l->llc_control == LLC_UI &&
l->llc_dsap == LLC_SNAP_LSAP &&
l->llc_ssap == LLC_SNAP_LSAP) {