[NET]: Replace CONFIG_NET_DEBUG with sysctl.
[powerpc.git] / net / core / sysctl_net_core.c
index 1e75b15..b297120 100644 (file)
@@ -136,6 +136,14 @@ ctl_table core_table[] = {
                .mode           = 0644,
                .proc_handler   = &proc_dointvec
        },
+       {
+               .ctl_name       = NET_CORE_WARNINGS,
+               .procname       = "warnings",
+               .data           = &net_msg_warn,
+               .maxlen         = sizeof(int),
+               .mode           = 0644,
+               .proc_handler   = &proc_dointvec
+       },
        { .ctl_name = 0 }
 };