]> git.proxmox.com Git - mirror_frr.git/commit
zebra: set vrf-id on vrf slave interfaces
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 15 Feb 2016 18:36:57 +0000 (18:36 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Mon, 15 Feb 2016 18:36:57 +0000 (18:36 +0000)
commitbe08f6780bb7793874aff96923c1015018ca650b
treeac65bf2605425609b3b9ac8128c715785fca695b
parentad4cbda1a32f0bf49d794ab5b156d49f95645871
zebra: set vrf-id on vrf slave interfaces
vrf: check netlink message for slave info and set the vrf-id accoringly

When a netlink newlink or link change comes into zebra, check the IFLA_INFO_SLAVE_KIND
to discover if the interface is a member of a vrf or not.  Set the vrf-id to the correct
value if the interface is a slave member

Signed-off-by: Don Sice
Reviewed-by:
zebra/rt_netlink.c