summaryrefslogtreecommitdiff
path: root/sys/net/if_tun.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-23 20:50:15 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-07-23 20:50:15 +0000
commit48f72858c6c937f2a793a9209ea0bc1c2ede6697 (patch)
tree0b892ceb7485dbd6f7384b8b03451dace9b787e6 /sys/net/if_tun.c
parent16ce1825d9900b5fdbe067cee3b01a5fd6fac60c (diff)
add atalk
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r--sys/net/if_tun.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c
index 3c13a07fad9..fb2e6ba3823 100644
--- a/sys/net/if_tun.c
+++ b/sys/net/if_tun.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_tun.c,v 1.15 1997/02/14 18:15:28 deraadt Exp $ */
+/* $OpenBSD: if_tun.c,v 1.16 1997/07/23 20:50:14 mickey Exp $ */
/* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */
/*
@@ -64,6 +64,11 @@
#include <netipx/ipx_if.h>
#endif
+#ifdef NETATALK
+#include <netatalk/at.h>
+#include <netatalk/at_var.h>
+#endif
+
#ifdef ISO
#include <netiso/iso.h>
#include <netiso/iso_var.h>
@@ -617,6 +622,12 @@ tunwrite(dev, uio, ioflag)
isr = NETISR_IPX;
break;
#endif
+#ifdef NETATALK
+ case AF_APPLETALK:
+ ifq = &atintrq2;
+ isr = NETISR_ATALK;
+ break;
+#endif
#ifdef ISO
case AF_ISO:
ifq = &clnlintrq;