aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/physical.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2000-09-14 22:02:54 +0000
committerBrian Somers <brian@FreeBSD.org>2000-09-14 22:02:54 +0000
commit481a4f6155df2fda88a0a6a20fa56c6d0f136941 (patch)
treec9ebac5b2b36d5c746383376dadb152ce1d18f98 /usr.sbin/ppp/physical.c
parentbce679f2a90d977d5a1f7e2bafd3163082277e51 (diff)
downloadsrc-481a4f6155df2fda88a0a6a20fa56c6d0f136941.tar.gz
src-481a4f6155df2fda88a0a6a20fa56c6d0f136941.zip
Support PPPoATM, disabled for now as /usr/include/netnatm doesn't exist
Submitted by: Jakob Stoklund Olesen <stoklund@taxidriver.dk>
Notes
Notes: svn path=/head/; revision=65862
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 30fed48d7481..e605131397ab 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 }