diff options
author | Mitsuru Chinen <mitch@linux.vnet.ibm.com> | 2007-10-30 01:02:57 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-30 01:37:36 -0400 |
commit | 064f3605be6b9b77151274f60693843cabaa09ec (patch) | |
tree | d3d3a843f1905650645196dce5bab8724adb19d2 /net/ipv4/proc.c | |
parent | bf3c23d171e35e6e168074a1514b0acd59cfd81a (diff) |
[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>
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r-- | net/ipv4/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c index 9be0daa9c0ec..ffdccc0972e0 100644 --- a/net/ipv4/proc.c +++ b/net/ipv4/proc.c | |||
@@ -304,7 +304,7 @@ static void icmp_put(struct seq_file *seq) | |||
304 | for (i=0; icmpmibmap[i].name != NULL; i++) | 304 | for (i=0; icmpmibmap[i].name != NULL; i++) |
305 | seq_printf(seq, " %lu", | 305 | seq_printf(seq, " %lu", |
306 | snmp_fold_field((void **) icmpmsg_statistics, | 306 | snmp_fold_field((void **) icmpmsg_statistics, |
307 | icmpmibmap[i].index)); | 307 | icmpmibmap[i].index | 0x100)); |
308 | } | 308 | } |
309 | 309 | ||
310 | /* | 310 | /* |