summaryrefslogtreecommitdiffstats
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-13 14:59:32 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:39 +0200
commite0ae31b88690aa93159a018e383e4e6ba6dc9937 (patch)
tree2c26a528f697e7647e43a9f443a0ef60861c484d /zebra/rt_socket.c
parentpimd: Bind msdp listen socket to vrf (diff)
downloadfrr-e0ae31b88690aa93159a018e383e4e6ba6dc9937.tar.xz
frr-e0ae31b88690aa93159a018e383e4e6ba6dc9937.zip
lib, pimd, zebra: Allow pim to set pimregX into appropriate vrf
The pimregX devices when created by the kernel are put into the default vrf. When pim gets the callback that the device exists, check to see if it is a pimregX device and if so move it into the appropriate vrf. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/rt_socket.c')
-rw-r--r--zebra/rt_socket.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/rt_socket.c b/zebra/rt_socket.c
index 683086f10..699fe6eb2 100644
--- a/zebra/rt_socket.c
+++ b/zebra/rt_socket.c
@@ -443,3 +443,9 @@ int kernel_del_neigh(struct interface *ifp, struct ipaddr *ip)
{
return 0;
}
+
+extern int kernel_interface_set_master(struct interface *master,
+ struct interface *slave)
+{
+ return 0;
+}