patch-2.1.68 linux/net/sysctl_net.c
Next file: linux/net/unix/Makefile
Previous file: linux/net/sunrpc/svc.c
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Sun Nov 30 14:00:40 1997
- Orig file:
v2.1.67/linux/net/sysctl_net.c
- Orig date:
Mon Jun 16 16:36:02 1997
diff -u --recursive --new-file v2.1.67/linux/net/sysctl_net.c linux/net/sysctl_net.c
@@ -24,7 +24,11 @@
extern ctl_table ipx_table[];
#endif
-extern ctl_table core_table[], unix_table[];
+extern ctl_table core_table[];
+
+#ifdef CONFIG_UNIX
+extern ctl_table unix_table[];
+#endif
#ifdef CONFIG_NET
extern ctl_table ether_table[], e802_table[];
@@ -44,7 +48,9 @@
ctl_table net_table[] = {
{NET_CORE, "core", NULL, 0, 0555, core_table},
+#ifdef CONFIG_UNIX
{NET_UNIX, "unix", NULL, 0, 0555, unix_table},
+#endif
#ifdef CONFIG_NET
{NET_802, "802", NULL, 0, 0555, e802_table},
{NET_ETHER, "ethernet", NULL, 0, 0555, ether_table},
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov