]> git.proxmox.com Git - mirror_iproute2.git/commit - misc/nstat.c
iproute2/nstat: Bug in displaying icmp stats
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 6 Dec 2014 02:10:08 +0000 (18:10 -0800)
committerStephen Hemminger <shemming@brocade.com>
Wed, 10 Dec 2014 04:33:32 +0000 (20:33 -0800)
commitd47179142725b67e1c3cf03bf37062e9ebc4cbd2
tree2858e8960c15bb98f4a307c00d21c040041d2c0d
parentd68e00f704c19aee1419c56eced3a8e8e7157e35
iproute2/nstat: Bug in displaying icmp stats

On Fri, 2014-12-05 at 17:13 -0800, Eric Dumazet wrote:

> I guess we could count number of spaces/fields in both lines,
> and disable the iproute2 trick if counts match.

Something like that maybe ?

 misc/nstat.c |   18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)
Tested-by: Vijay Subramanian <subramanian.vijay@gmail.com>
misc/nstat.c