patch-2.1.8 linux/net/protocols.c
Next file: linux/net/socket.c
Previous file: linux/net/netsyms.c
Back to the patch index
Back to the overall index
-  Lines: 25
-  Date:
Sun Nov  3 11:04:43 1996
-  Orig file: 
v2.1.7/linux/net/protocols.c
-  Orig date: 
Sat Mar 30 13:20:34 1996
diff -u --recursive --new-file v2.1.7/linux/net/protocols.c linux/net/protocols.c
@@ -15,9 +15,14 @@
 #ifdef	CONFIG_UNIX
 #include <net/af_unix.h>
 #endif
+
 #ifdef	CONFIG_INET
 #include <linux/inet.h>
+#ifdef	CONFIG_IPV6
+extern void inet6_proto_init(struct net_proto *pro);
 #endif
+#endif	/* INET */
+
 #if defined(CONFIG_IPX) || defined(CONFIG_IPX_MODULE)
 #include <net/ipxcall.h>
 #include <net/p8022call.h>
@@ -67,6 +72,9 @@
 #endif  
 #ifdef	CONFIG_INET
   { "INET",	inet_proto_init	},			/* TCP/IP			*/
+#ifdef	CONFIG_IPV6
+  { "INET6",	inet6_proto_init},			/* IPv6	*/
+#endif
 #endif
 #ifdef  CONFIG_IPX
   { "IPX",	ipx_proto_init },			/* IPX				*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov