]> git.proxmox.com Git - mirror_iproute2.git/commit
vrf: Add support for table names
authorDavid Ahern <dsa@cumulusnetworks.com>
Tue, 8 Dec 2015 20:24:44 +0000 (12:24 -0800)
committerStephen Hemminger <shemming@brocade.com>
Thu, 10 Dec 2015 16:45:30 +0000 (08:45 -0800)
commit8a23f820457b309fc30d093109ef1e6aa57842c1
tree2d189389c5a04dd47da66737e384bef65306ad29
parented108cfc0260b6b751647982b77d6363b1defb15
vrf: Add support for table names

Currently, the table id for VRF devices requires an integer. Convert
it to use rtnl_rttable_a2n which handles table names from the iproute2
directory.

This also fixes a bug in the original commit where table name are not
properly handled.

Fixes: 15faa0a30bed ("add support for VRF device")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
ip/iplink_vrf.c