mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 12:16:20 +00:00
[IPv4] SNMP: Refer correct memory location to display ICMP out-going statistics
While displaying ICMP out-going statistics as Out<name> counters in /proc/net/snmp, the memory location for ICMP in-coming statistics was referred by mistake. Signed-off-by: Mitsuru Chinen <mitch@linux.vnet.ibm.com> Acked-by: David L Stevens <dlstevens@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bf3c23d171
commit
064f3605be
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@ static void icmp_put(struct seq_file *seq)
|
||||||
for (i=0; icmpmibmap[i].name != NULL; i++)
|
for (i=0; icmpmibmap[i].name != NULL; i++)
|
||||||
seq_printf(seq, " %lu",
|
seq_printf(seq, " %lu",
|
||||||
snmp_fold_field((void **) icmpmsg_statistics,
|
snmp_fold_field((void **) icmpmsg_statistics,
|
||||||
icmpmibmap[i].index));
|
icmpmibmap[i].index | 0x100));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue