patch-2.1.32 linux/net/ipv4/sysctl_net_ipv4.c
Next file: linux/net/ipv6/ipv6_sockglue.c
Previous file: linux/net/ethernet/Makefile
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sat Apr 5 12:14:21 1997
- Orig file:
v2.1.31/linux/net/ipv4/sysctl_net_ipv4.c
- Orig date:
Thu Dec 12 06:54:24 1996
diff -u --recursive --new-file v2.1.31/linux/net/ipv4/sysctl_net_ipv4.c linux/net/ipv4/sysctl_net_ipv4.c
@@ -39,6 +39,9 @@
void *buffer, size_t *lenp);
struct ipv4_config ipv4_config = { 1, 1, 1, 1, };
+
+#ifdef CONFIG_SYSCTL
+
struct ipv4_config ipv4_def_router_config = { 0, 1, 1, 1, 1, 1, 1, };
struct ipv4_config ipv4_def_host_config = { 1, 1, 1, 1, };
@@ -121,3 +124,5 @@
&proc_dointvec},
{0}
};
+
+#endif /* CONFIG_SYSCTL */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov