]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipaddress.c
ip address: print stats with -s
authorJiri Benc <jbenc@redhat.com>
Fri, 3 Oct 2014 13:25:02 +0000 (15:25 +0200)
committerStephen Hemminger <shemming@brocade.com>
Thu, 9 Oct 2014 15:24:01 +0000 (08:24 -0700)
commit5d5cf1b43706721c1db68ba5d54098a81390bc11
tree3af9751e4fa43cd5c6e2bc294c1871ac53fc2d6c
parent624a06e63f87b8ac7be325ee36322704545fbd85
ip address: print stats with -s

Make ip address show accept the -s option similarly to ip link. This creates
an one command replacement for "ifconfig -a" useful for people who still
stay with ifconfig because of this feature.

Print the stats as the last thing for the interface. This requires some code
shuffling.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
ip/ipaddress.c