]> git.proxmox.com Git - mirror_iproute2.git/commit
ip{,6}tunnel: have a shared stats parser/printer
authorPhil Sutter <phil@nwl.cc>
Fri, 18 Dec 2015 10:58:06 +0000 (11:58 +0100)
committerStephen Hemminger <shemming@brocade.com>
Fri, 18 Dec 2015 19:46:21 +0000 (11:46 -0800)
commit7d6aadcd0a1dc795d72e1ab311aee333c763fe71
tree96ef93023f0366bb74a24841f1b18cc7f1214d4a
parentd95cdcf52b4c85c280e3a0aceff22238947d92c2
ip{,6}tunnel: have a shared stats parser/printer

This has a slight side-effect of not aborting when /proc/net/dev is
malformed, but OTOH stats are not parsed for uninteresting interfaces.

Signed-off-by: Phil Sutter <phil@nwl.cc>
ip/ip6tunnel.c
ip/iptunnel.c
ip/tunnel.c
ip/tunnel.h