summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/physical.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2000-09-14 22:02:54 +0000
committerbrian <brian@FreeBSD.org>2000-09-14 22:02:54 +0000
commit54bef4135c4762d88857503b7c16ba80db3a44c5 (patch)
tree212a2a7c0be379a39011d29bfb9d5eef0977bf6e /usr.sbin/ppp/physical.c
parent066132400fc6fa22008b2e4fb25387e3bf8bc7ff (diff)
downloadFreeBSD-src-54bef4135c4762d88857503b7c16ba80db3a44c5.zip
FreeBSD-src-54bef4135c4762d88857503b7c16ba80db3a44c5.tar.gz
Support PPPoATM, disabled for now as /usr/include/netnatm doesn't exist
Submitted by: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r--usr.sbin/ppp/physical.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c
index 30fed48..e605131 100644
--- a/usr.sbin/ppp/physical.c
+++ b/usr.sbin/ppp/physical.c
@@ -96,7 +96,9 @@
#ifndef NONETGRAPH
#include "ether.h"
#endif
-
+#ifndef NOATM
+#include "atm.h"
+#endif
#define PPPOTCPLINE "ppp"
@@ -123,6 +125,10 @@ struct {
/* This must come before ``udp'' & ``tcp'' */
{ ether_Create, ether_iov2device, ether_DeviceSize },
#endif
+#ifndef NOATM
+ /* and so must this */
+ { atm_Create, atm_iov2device, atm_DeviceSize },
+#endif
{ tcp_Create, tcp_iov2device, tcp_DeviceSize },
{ udp_Create, udp_iov2device, udp_DeviceSize },
{ exec_Create, exec_iov2device, exec_DeviceSize }
OpenPOWER on IntegriCloud