diff options
author | Denis V. Lunev <den@openvz.org> | 2008-10-08 13:36:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 14:16:45 -0400 |
commit | 9261e53701121f83eb9482347d68833e95315362 (patch) | |
tree | 9e3ba61bb72233eb544bc22ebd29a0dafa90a89e /net/ipv6/proc.c | |
parent | 087fe24033c4280a15b03cce41eaec844c92f8e5 (diff) |
ipv6: making ip and icmp statistics per/namespace
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/proc.c')
-rw-r--r-- | net/ipv6/proc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index c78cf754ef3f..07f0b76e7427 100644 --- a/net/ipv6/proc.c +++ b/net/ipv6/proc.c | |||
@@ -177,9 +177,11 @@ static int snmp6_seq_show(struct seq_file *seq, void *v) | |||
177 | { | 177 | { |
178 | struct net *net = (struct net *)seq->private; | 178 | struct net *net = (struct net *)seq->private; |
179 | 179 | ||
180 | snmp6_seq_show_item(seq, (void **)ipv6_statistics, snmp6_ipstats_list); | 180 | snmp6_seq_show_item(seq, (void **)net->mib.ipv6_statistics, |
181 | snmp6_seq_show_item(seq, (void **)icmpv6_statistics, snmp6_icmp6_list); | 181 | snmp6_ipstats_list); |
182 | snmp6_seq_show_icmpv6msg(seq, (void **)icmpv6msg_statistics); | 182 | snmp6_seq_show_item(seq, (void **)net->mib.icmpv6_statistics, |
183 | snmp6_icmp6_list); | ||
184 | snmp6_seq_show_icmpv6msg(seq, (void **)net->mib.icmpv6msg_statistics); | ||
183 | snmp6_seq_show_item(seq, (void **)net->mib.udp_stats_in6, | 185 | snmp6_seq_show_item(seq, (void **)net->mib.udp_stats_in6, |
184 | snmp6_udp6_list); | 186 | snmp6_udp6_list); |
185 | snmp6_seq_show_item(seq, (void **)net->mib.udplite_stats_in6, | 187 | snmp6_seq_show_item(seq, (void **)net->mib.udplite_stats_in6, |