mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ipv6: sysctl fixes
Braino: net.ipv6 in ipv6 skeleton has no business in rotable class Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2f4520d35d
commit
ce3113ec57
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ static struct ctl_table_header *ip6_base;
|
|||
int ipv6_static_sysctl_register(void)
|
||||
{
|
||||
static struct ctl_table empty[1];
|
||||
ip6_base = register_net_sysctl_rotable(net_ipv6_ctl_path, empty);
|
||||
ip6_base = register_sysctl_paths(net_ipv6_ctl_path, empty);
|
||||
if (ip6_base == NULL)
|
||||
return -ENOMEM;
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue