diff options
author | Joe Perches | 2015-03-23 19:50:10 +0100 |
---|---|---|
committer | Pablo Neira Ayuso | 2015-03-25 12:09:39 +0100 |
commit | a81b2ce8508b9c57c2eae0b0ab7fc8a5e849a4b4 (patch) | |
tree | b5e4df08d5a9c742f792f1a5bc09b433fd1b0808 /net/netfilter/nf_tables_core.c | |
parent | netfilter: nf_tables: move struct net pointer to base chain (diff) | |
download | kernel-qcow2-linux-a81b2ce8508b9c57c2eae0b0ab7fc8a5e849a4b4.tar.gz kernel-qcow2-linux-a81b2ce8508b9c57c2eae0b0ab7fc8a5e849a4b4.tar.xz kernel-qcow2-linux-a81b2ce8508b9c57c2eae0b0ab7fc8a5e849a4b4.zip |
netfilter: Use LOGLEVEL_<FOO> defines
Use the #defines where appropriate.
Miscellanea:
Add explicit #include <linux/kernel.h> where it was not
previously used so that these #defines are a bit more
explicitly defined instead of indirectly included via:
module.h->moduleparam.h->kernel.h
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_tables_core.c')
-rw-r--r-- | net/netfilter/nf_tables_core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c index 4c921a302cfd..763a9d87296d 100644 --- a/net/netfilter/nf_tables_core.c +++ b/net/netfilter/nf_tables_core.c @@ -8,6 +8,7 @@ * Development of this code funded by Astaro AG (http://www.astaro.com/) */ +#include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> #include <linux/list.h> @@ -37,7 +38,7 @@ static struct nf_loginfo trace_loginfo = { .type = NF_LOG_TYPE_LOG, .u = { .log = { - .level = 4, + .level = LOGLEVEL_WARNING, .logflags = NF_LOG_MASK, }, }, |