Commit ede04d4c authored by Art Haas's avatar Art Haas Committed by Linus Torvalds

[PATCH] C99 initializer for net/ipv6/icmp.c

parent 380a2a35
...@@ -705,9 +705,15 @@ int icmpv6_err_convert(int type, int code, int *err) ...@@ -705,9 +705,15 @@ int icmpv6_err_convert(int type, int code, int *err)
#ifdef CONFIG_SYSCTL #ifdef CONFIG_SYSCTL
ctl_table ipv6_icmp_table[] = { ctl_table ipv6_icmp_table[] = {
{NET_IPV6_ICMP_RATELIMIT, "ratelimit", {
&sysctl_icmpv6_time, sizeof(int), 0644, NULL, &proc_dointvec}, .ctl_name = NET_IPV6_ICMP_RATELIMIT,
{0}, .procname = "ratelimit",
.data = &sysctl_icmpv6_time,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec
},
{ .ctl_name = 0 },
}; };
#endif #endif
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