aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index 765418334b3c..6b43cce05587 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -311,15 +311,15 @@ static void icmp_put(struct seq_file *seq)
311 for (i=0; icmpmibmap[i].name != NULL; i++) 311 for (i=0; icmpmibmap[i].name != NULL; i++)
312 seq_printf(seq, " Out%s", icmpmibmap[i].name); 312 seq_printf(seq, " Out%s", icmpmibmap[i].name);
313 seq_printf(seq, "\nIcmp: %lu %lu", 313 seq_printf(seq, "\nIcmp: %lu %lu",
314 snmp_fold_field((void **) icmp_statistics, ICMP_MIB_INMSGS), 314 snmp_fold_field((void **) init_net.mib.icmp_statistics, ICMP_MIB_INMSGS),
315 snmp_fold_field((void **) icmp_statistics, ICMP_MIB_INERRORS)); 315 snmp_fold_field((void **) init_net.mib.icmp_statistics, ICMP_MIB_INERRORS));
316 for (i=0; icmpmibmap[i].name != NULL; i++) 316 for (i=0; icmpmibmap[i].name != NULL; i++)
317 seq_printf(seq, " %lu", 317 seq_printf(seq, " %lu",
318 snmp_fold_field((void **) icmpmsg_statistics, 318 snmp_fold_field((void **) icmpmsg_statistics,
319 icmpmibmap[i].index)); 319 icmpmibmap[i].index));
320 seq_printf(seq, " %lu %lu", 320 seq_printf(seq, " %lu %lu",
321 snmp_fold_field((void **) icmp_statistics, ICMP_MIB_OUTMSGS), 321 snmp_fold_field((void **) init_net.mib.icmp_statistics, ICMP_MIB_OUTMSGS),
322 snmp_fold_field((void **) icmp_statistics, ICMP_MIB_OUTERRORS)); 322 snmp_fold_field((void **) init_net.mib.icmp_statistics, ICMP_MIB_OUTERRORS));
323 for (i=0; icmpmibmap[i].name != NULL; i++) 323 for (i=0; icmpmibmap[i].name != NULL; i++)
324 seq_printf(seq, " %lu", 324 seq_printf(seq, " %lu",
325 snmp_fold_field((void **) icmpmsg_statistics, 325 snmp_fold_field((void **) icmpmsg_statistics,