]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ip_common.h
ip: display netns name instead of nsid
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 5 Jun 2018 13:08:30 +0000 (15:08 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 8 Jun 2018 17:06:21 +0000 (10:06 -0700)
commit9580bad7b993eb80479a5ee08d333c39995cd662
treecdd5a335298bdcc80d752e002de5eb1e828430ab
parent9e4a92e5aa97c804bf684365df7c3d91b42cf96d
ip: display netns name instead of nsid

When iproute2 has a name for the nsid, let's display it. It's more
user friendly than a number.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ip_common.h
ip/ipaddress.c
ip/ipnetns.c