aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/netfilter/ip6t_LOG.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/netfilter/ip6t_LOG.c')
-rw-r--r--net/ipv6/netfilter/ip6t_LOG.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv6/netfilter/ip6t_LOG.c b/net/ipv6/netfilter/ip6t_LOG.c
index 5587a77b884..dc9ec930577 100644
--- a/net/ipv6/netfilter/ip6t_LOG.c
+++ b/net/ipv6/netfilter/ip6t_LOG.c
@@ -145,7 +145,7 @@ static void dump_packet(const struct nf_loginfo *info,
145 &_ahdr); 145 &_ahdr);
146 if (ah == NULL) { 146 if (ah == NULL) {
147 /* 147 /*
148 * Max length: 26 "INCOMPLETE [65535 148 * Max length: 26 "INCOMPLETE [65535
149 * bytes] )" 149 * bytes] )"
150 */ 150 */
151 printk("INCOMPLETE [%u bytes] )", 151 printk("INCOMPLETE [%u bytes] )",
@@ -387,7 +387,7 @@ ip6t_log_packet(unsigned int pf,
387 loginfo = &default_loginfo; 387 loginfo = &default_loginfo;
388 388
389 spin_lock_bh(&log_lock); 389 spin_lock_bh(&log_lock);
390 printk("<%d>%sIN=%s OUT=%s ", loginfo->u.log.level, 390 printk("<%d>%sIN=%s OUT=%s ", loginfo->u.log.level,
391 prefix, 391 prefix,
392 in ? in->name : "", 392 in ? in->name : "",
393 out ? out->name : ""); 393 out ? out->name : "");
@@ -442,7 +442,7 @@ ip6t_log_target(struct sk_buff **pskb,
442 li.u.log.logflags = loginfo->logflags; 442 li.u.log.logflags = loginfo->logflags;
443 443
444 ip6t_log_packet(PF_INET6, hooknum, *pskb, in, out, &li, 444 ip6t_log_packet(PF_INET6, hooknum, *pskb, in, out, &li,
445 loginfo->prefix); 445 loginfo->prefix);
446 return XT_CONTINUE; 446 return XT_CONTINUE;
447} 447}
448 448
@@ -470,9 +470,9 @@ static int ip6t_log_checkentry(const char *tablename,
470static struct xt_target ip6t_log_reg = { 470static struct xt_target ip6t_log_reg = {
471 .name = "LOG", 471 .name = "LOG",
472 .family = AF_INET6, 472 .family = AF_INET6,
473 .target = ip6t_log_target, 473 .target = ip6t_log_target,
474 .targetsize = sizeof(struct ip6t_log_info), 474 .targetsize = sizeof(struct ip6t_log_info),
475 .checkentry = ip6t_log_checkentry, 475 .checkentry = ip6t_log_checkentry,
476 .me = THIS_MODULE, 476 .me = THIS_MODULE,
477}; 477};
478 478