aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/proc.c')
-rw-r--r--net/ipv6/proc.c8
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,