]> git.proxmox.com Git - mirror_iproute2.git/commit
ip vrf: Add ipvrf_get_table
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 29 Jun 2016 18:27:01 +0000 (11:27 -0700)
committerStephen Hemminger <shemming@brocade.com>
Thu, 7 Jul 2016 04:28:31 +0000 (21:28 -0700)
commit9b76577042ac0e572d016bc069bbef7595c6f858
tree9035db72f25ee9a0da13da9186c4bf1aebcc8dc1
parentd84b1878eaae882e066b7d051eb6af13cf64152e
ip vrf: Add ipvrf_get_table

Add ipvrf_get_table to lookup table id for device name. Returns 0
on any error or if name is not a VRF device.

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