Commit f0d57a54 authored by Patrick McHardy's avatar Patrick McHardy

netfilter: ipt_LOG/ip6t_LOG: use more appropriate log level as default

Use KERN_NOTICE instead of KERN_EMERG by default. This only affects
kernel internal logging (like conntrack), user-specified logging rules
contain a seperate log level.
Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 90348e0e
...@@ -367,7 +367,7 @@ static struct nf_loginfo default_loginfo = { ...@@ -367,7 +367,7 @@ static struct nf_loginfo default_loginfo = {
.type = NF_LOG_TYPE_LOG, .type = NF_LOG_TYPE_LOG,
.u = { .u = {
.log = { .log = {
.level = 0, .level = 5,
.logflags = NF_LOG_MASK, .logflags = NF_LOG_MASK,
}, },
}, },
......
...@@ -377,7 +377,7 @@ static struct nf_loginfo default_loginfo = { ...@@ -377,7 +377,7 @@ static struct nf_loginfo default_loginfo = {
.type = NF_LOG_TYPE_LOG, .type = NF_LOG_TYPE_LOG,
.u = { .u = {
.log = { .log = {
.level = 0, .level = 5,
.logflags = NF_LOG_MASK, .logflags = NF_LOG_MASK,
}, },
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment