diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-10 21:48:43 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 15:29:09 +0100 |
commit | 4e5266b8a3fb5f1928a610bf86739b415d078bee (patch) | |
tree | 88515e1cfb8e55af85d2dc38f9ccda269d8c6a8c /zebra/kernel_socket.c | |
parent | *: Remove non-vrf based ifindex lookup (diff) | |
download | frr-4e5266b8a3fb5f1928a610bf86739b415d078bee.tar.xz frr-4e5266b8a3fb5f1928a610bf86739b415d078bee.zip |
lib, ospfd, pimd: Convert to using VRF based interface creation
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_socket.c')
-rw-r--r-- | zebra/kernel_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 20de52c11..ad04e1a8a 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -517,7 +517,7 @@ ifm_read (struct if_msghdr *ifm) if (ifp == NULL) { /* Interface that zebra was not previously aware of, so create. */ - ifp = if_create (ifname, ifnlen); + ifp = if_create (ifname, ifnlen, VRF_DEFAULT); if (IS_ZEBRA_DEBUG_KERNEL) zlog_debug ("%s: creating ifp for ifindex %d", __func__, ifm->ifm_index); |