patch-2.1.32 linux/net/ipv6/sysctl_net_ipv6.c

Next file: linux/net/ipx/Makefile
Previous file: linux/net/ipv6/ipv6_sockglue.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.31/linux/net/ipv6/sysctl_net_ipv6.c linux/net/ipv6/sysctl_net_ipv6.c
@@ -33,6 +33,8 @@
 	30*HZ,				/* rt gc period		*/
 };
 
+#ifdef CONFIG_SYSCTL
+
 int ipv6_sysctl_forwarding(ctl_table *ctl, int write, struct file * filp,
 			   void *buffer, size_t *lenp)
 {
@@ -140,3 +142,8 @@
 	unregister_sysctl_table(ipv6_sysctl_header);
 }
 #endif	/* MODULE */
+
+#endif /* CONFIG_SYSCTL */
+
+
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov