aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index 367b81f6f57a..120e1f7461da 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -342,7 +342,7 @@ static int snmp_seq_show(struct seq_file *seq, void *v)
342 seq_printf(seq, " %s", snmp4_ipstats_list[i].name); 342 seq_printf(seq, " %s", snmp4_ipstats_list[i].name);
343 343
344 seq_printf(seq, "\nIp: %d %d", 344 seq_printf(seq, "\nIp: %d %d",
345 IPV4_DEVCONF_ALL(&init_net, FORWARDING) ? 1 : 2, 345 IPV4_DEVCONF_ALL(net, FORWARDING) ? 1 : 2,
346 sysctl_ip_default_ttl); 346 sysctl_ip_default_ttl);
347 347
348 for (i = 0; snmp4_ipstats_list[i].name != NULL; i++) 348 for (i = 0; snmp4_ipstats_list[i].name != NULL; i++)