]> git.proxmox.com Git - mirror_iproute2.git/commit
ip netns: refactor netns_identify
authorDavid Ahern <dsa@cumulusnetworks.com>
Thu, 16 Feb 2017 16:58:56 +0000 (08:58 -0800)
committerStephen Hemminger <sthemmin@microsoft.com>
Fri, 17 Feb 2017 23:33:24 +0000 (15:33 -0800)
commit9c49438a6716c7ac5fc2d7ff757bbe6cd9805ba8
treed0053a9001095236306f810fd9bcf944fb2e8d01
parent46afa6947b4ab89c306703386bbf3379ad464a1f
ip netns: refactor netns_identify

Move guts of netns_identify into a standalone function that returns
the netns name in a given buffer.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
ip/ip_common.h
ip/ipnetns.c