Commit 31b4b681 authored by Stephen Hemminger's avatar Stephen Hemminger

[IPV6]: More missing sysctl table sentinels in addrconf.c

parent b0b5c6cd
...@@ -3191,6 +3191,9 @@ static struct addrconf_sysctl_table ...@@ -3191,6 +3191,9 @@ static struct addrconf_sysctl_table
.mode = 0555, .mode = 0555,
.child = addrconf_sysctl.addrconf_vars, .child = addrconf_sysctl.addrconf_vars,
}, },
{
.ctl_name = 0, /* sentinel */
}
}, },
.addrconf_conf_dir = { .addrconf_conf_dir = {
{ {
...@@ -3199,6 +3202,9 @@ static struct addrconf_sysctl_table ...@@ -3199,6 +3202,9 @@ static struct addrconf_sysctl_table
.mode = 0555, .mode = 0555,
.child = addrconf_sysctl.addrconf_dev, .child = addrconf_sysctl.addrconf_dev,
}, },
{
.ctl_name = 0, /* sentinel */
}
}, },
.addrconf_proto_dir = { .addrconf_proto_dir = {
{ {
...@@ -3207,6 +3213,9 @@ static struct addrconf_sysctl_table ...@@ -3207,6 +3213,9 @@ static struct addrconf_sysctl_table
.mode = 0555, .mode = 0555,
.child = addrconf_sysctl.addrconf_conf_dir, .child = addrconf_sysctl.addrconf_conf_dir,
}, },
{
.ctl_name = 0, /* sentinel */
}
}, },
.addrconf_root_dir = { .addrconf_root_dir = {
{ {
...@@ -3215,6 +3224,9 @@ static struct addrconf_sysctl_table ...@@ -3215,6 +3224,9 @@ static struct addrconf_sysctl_table
.mode = 0555, .mode = 0555,
.child = addrconf_sysctl.addrconf_proto_dir, .child = addrconf_sysctl.addrconf_proto_dir,
}, },
{
.ctl_name = 0, /* sentinel */
}
}, },
}; };
......
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