linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / net / sysctl_net.c
index cd4eafb..55538f6 100644 (file)
@@ -12,6 +12,7 @@
  *
  */
 
+#include <linux/config.h>
 #include <linux/mm.h>
 #include <linux/sysctl.h>
 
@@ -36,6 +37,14 @@ struct ctl_table net_table[] = {
                .mode           = 0555,
                .child          = core_table,
        },
+#ifdef CONFIG_NET
+       {
+               .ctl_name       = NET_ETHER,
+               .procname       = "ethernet",
+               .mode           = 0555,
+               .child          = ether_table,
+       },
+#endif
 #ifdef CONFIG_INET
        {
                .ctl_name       = NET_IPV4,