summaryrefslogtreecommitdiff
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-23 20:20:11 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-23 20:20:11 +0000
commiteefc100af7038758ef196421c9c5b73507bab513 (patch)
treec3d12c233e729f06e35f212f79743e068f65b184 /sys/net/if_ethersubr.c
parent24ebfd27177ba2d49b2fd2e9d5b5fba3df35744c (diff)
make it compile w/o NETATALK defined
Diffstat (limited to 'sys/net/if_ethersubr.c')
-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],