summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/netgraph.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-05-16 08:25:55 +0000
committerglebius <glebius@FreeBSD.org>2005-05-16 08:25:55 +0000
commit39c7c362d1ad10a0931495b45d815445da167ce2 (patch)
tree94bdb2e5b06266fdeb2b0f783944dcfc4213d8dd /sys/netgraph/netgraph.h
parentc2bb227a08da7ac74c03baf7d915258be41c3578 (diff)
downloadFreeBSD-src-39c7c362d1ad10a0931495b45d815445da167ce2.zip
FreeBSD-src-39c7c362d1ad10a0931495b45d815445da167ce2.tar.gz
Make NETGRAPH_DEBUG a kernel option, so that it can't be turned off
without hacking source. In collaboration with: ru, julian
Diffstat (limited to 'sys/netgraph/netgraph.h')
-rw-r--r--sys/netgraph/netgraph.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netgraph/netgraph.h b/sys/netgraph/netgraph.h
index 61b575a..53f1cf2 100644
--- a/sys/netgraph/netgraph.h
+++ b/sys/netgraph/netgraph.h
@@ -53,8 +53,10 @@
#include <sys/malloc.h>
#include <sys/module.h>
#include <sys/mutex.h>
+
+#include "opt_netgraph.h"
+
/* debugging options */
-#define NETGRAPH_DEBUG
#define NG_SEPARATE_MALLOC /* make modules use their own malloc types */
/*
OpenPOWER on IntegriCloud