diff options
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r-- | net/ipv4/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c index ce34b281803f..41734db677be 100644 --- a/net/ipv4/proc.c +++ b/net/ipv4/proc.c | |||
@@ -309,7 +309,8 @@ static int snmp_seq_show(struct seq_file *seq, void *v) | |||
309 | seq_printf(seq, " %s", snmp4_ipstats_list[i].name); | 309 | seq_printf(seq, " %s", snmp4_ipstats_list[i].name); |
310 | 310 | ||
311 | seq_printf(seq, "\nIp: %d %d", | 311 | seq_printf(seq, "\nIp: %d %d", |
312 | IPV4_DEVCONF_ALL(FORWARDING) ? 1 : 2, sysctl_ip_default_ttl); | 312 | IPV4_DEVCONF_ALL(&init_net, FORWARDING) ? 1 : 2, |
313 | sysctl_ip_default_ttl); | ||
313 | 314 | ||
314 | for (i = 0; snmp4_ipstats_list[i].name != NULL; i++) | 315 | for (i = 0; snmp4_ipstats_list[i].name != NULL; i++) |
315 | seq_printf(seq, " %lu", | 316 | seq_printf(seq, " %lu", |