diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-23 20:20:11 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-07-23 20:20:11 +0000 |
commit | eefc100af7038758ef196421c9c5b73507bab513 (patch) | |
tree | c3d12c233e729f06e35f212f79743e068f65b184 /sys/net/if_ethersubr.c | |
parent | 24ebfd27177ba2d49b2fd2e9d5b5fba3df35744c (diff) |
make it compile w/o NETATALK defined
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r-- | sys/net/if_ethersubr.c | 5 |
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], |