aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/proc.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-18 07:03:27 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-18 07:03:27 -0400
commit2f275f91a438abd8eec5321798d66a4ffe6869fa (patch)
treea14cc8f7112d2ba0dfe08e43577cab779b858ba6 /net/ipv4/proc.c
parent61a7e26028b94805fd686a6dc9dbd9941f8f19b0 (diff)
mib: put udp statistics on struct net
Similar to... ouch, I repeat myself. 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 ef38b1dccfda..869085c8e43f 100644
--- a/net/ipv4/proc.c
+++ b/net/ipv4/proc.c
@@ -374,7 +374,7 @@ static int snmp_seq_show(struct seq_file *seq, void *v)
374 seq_puts(seq, "\nUdp:"); 374 seq_puts(seq, "\nUdp:");
375 for (i = 0; snmp4_udp_list[i].name != NULL; i++) 375 for (i = 0; snmp4_udp_list[i].name != NULL; i++)
376 seq_printf(seq, " %lu", 376 seq_printf(seq, " %lu",
377 snmp_fold_field((void **)udp_statistics, 377 snmp_fold_field((void **)init_net.mib.udp_statistics,
378 snmp4_udp_list[i].entry)); 378 snmp4_udp_list[i].entry));
379 379
380 /* the UDP and UDP-Lite MIBs are the same */ 380 /* the UDP and UDP-Lite MIBs are the same */