patch-2.0.30 linux/net/ipv4/protocol.c
Next file: linux/net/ipv4/raw.c
Previous file: linux/net/ipv4/proc.c
Back to the patch index
Back to the overall index
-  Lines: 23
-  Date:
Tue Apr  8 08:47:47 1997
-  Orig file: 
v2.0.29/linux/net/ipv4/protocol.c
-  Orig date: 
Mon Sep 11 10:16:03 1995
diff -u --recursive --new-file v2.0.29/linux/net/ipv4/protocol.c linux/net/ipv4/protocol.c
@@ -46,7 +46,6 @@
 #include <linux/igmp.h>
 
 
-#ifdef CONFIG_IP_FORWARD
 #ifdef CONFIG_NET_IPIP
 
 static struct inet_protocol ipip_protocol = 
@@ -62,13 +61,12 @@
 
 
 #endif
-#endif
 
 static struct inet_protocol tcp_protocol = 
 {
 	tcp_rcv,		/* TCP handler		*/
 	tcp_err,		/* TCP error control	*/  
-#if defined(CONFIG_NET_IPIP) && defined(CONFIG_IP_FORWARD)
+#if defined(CONFIG_NET_IPIP)
 	&ipip_protocol,
 #else  
 	NULL,			/* next			*/
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov