patch-2.3.99-pre7 linux/net/protocols.c

Next file: linux/net/rose/af_rose.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre6/linux/net/protocols.c linux/net/protocols.c
@@ -100,6 +100,11 @@
 #include <net/p8022call.h>
 #endif
 
+
+#ifdef CONFIG_PPPOE
+#include <linux/if_pppox.h>
+#endif
+
 /*
  *	Protocol Table
  */
@@ -177,6 +182,8 @@
 #ifdef CONFIG_IRDA
   { "IrDA",     irda_proto_init },                     /* IrDA protocols */
 #endif
-
+#ifdef CONFIG_PPPOE
+  { "PPPoX",	pppox_proto_init },			/* PPP over Ethernet */
+#endif
   { NULL,	NULL		}			/* End marker			*/
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)