mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
[NETFILTER]: Lower *tables printk severity
Lower ip6tables, arptables and ebtables printk severity similar to Dan Aloni's patch for iptables. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
130e7a83d7
commit
a887c1c148
@ -1525,14 +1525,14 @@ static int __init ebtables_init(void)
|
||||
if ((ret = nf_register_sockopt(&ebt_sockopts)) < 0)
|
||||
return ret;
|
||||
|
||||
printk(KERN_NOTICE "Ebtables v2.0 registered\n");
|
||||
printk(KERN_INFO "Ebtables v2.0 registered\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __exit ebtables_fini(void)
|
||||
{
|
||||
nf_unregister_sockopt(&ebt_sockopts);
|
||||
printk(KERN_NOTICE "Ebtables v2.0 unregistered\n");
|
||||
printk(KERN_INFO "Ebtables v2.0 unregistered\n");
|
||||
}
|
||||
|
||||
EXPORT_SYMBOL(ebt_register_table);
|
||||
|
@ -1184,7 +1184,7 @@ static int __init arp_tables_init(void)
|
||||
if (ret < 0)
|
||||
goto err4;
|
||||
|
||||
printk("arp_tables: (C) 2002 David S. Miller\n");
|
||||
printk(KERN_INFO "arp_tables: (C) 2002 David S. Miller\n");
|
||||
return 0;
|
||||
|
||||
err4:
|
||||
|
@ -1497,7 +1497,7 @@ static int __init ip6_tables_init(void)
|
||||
if (ret < 0)
|
||||
goto err5;
|
||||
|
||||
printk("ip6_tables: (C) 2000-2006 Netfilter Core Team\n");
|
||||
printk(KERN_INFO "ip6_tables: (C) 2000-2006 Netfilter Core Team\n");
|
||||
return 0;
|
||||
|
||||
err5:
|
||||
|
Loading…
Reference in New Issue
Block a user