aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-18 07:03:08 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 07:03:08 -0400
commit61a7e26028b94805fd686a6dc9dbd9941f8f19b0 (patch)
tree2253a6f827a68ea5a7041456c5bfcac0d8e24138 /net/ipv4/proc.c
parenta20f5799ca7ceb24d63c74b6fdad4b0c0ee91f4f (diff)
mib: put net statistics on struct net
Similar to ip and tcp ones :) Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/proc.c')
-rw-r--r--net/ipv4/proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/proc.c b/net/ipv4/proc.c
index 2698bb2ce98f..ef38b1dccfda 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -421,7 +421,7 @@ static int netstat_seq_show(struct seq_file *seq, void *v)
421 seq_puts(seq, "\nTcpExt:"); 421 seq_puts(seq, "\nTcpExt:");
422 for (i = 0; snmp4_net_list[i].name != NULL; i++) 422 for (i = 0; snmp4_net_list[i].name != NULL; i++)
423 seq_printf(seq, " %lu", 423 seq_printf(seq, " %lu",
424 snmp_fold_field((void **)net_statistics, 424 snmp_fold_field((void **)init_net.mib.net_statistics,
425 snmp4_net_list[i].entry)); 425 snmp4_net_list[i].entry));
426 426
427 seq_puts(seq, "\nIpExt:"); 427 seq_puts(seq, "\nIpExt:");