summaryrefslogtreecommitdiffstats
path: root/zebra/if_ioctl.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-03-11 13:27:15 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-03-15 15:36:23 +0100
commit1306c09a1b6996f7afa3ac651659c40146117834 (patch)
treecb1a038dfebfb2532b8b067ffdb79d04eae41518 /zebra/if_ioctl.c
parentlib, ospf6d: Refactor if_lookup_prefix (diff)
downloadfrr-1306c09a1b6996f7afa3ac651659c40146117834.tar.xz
frr-1306c09a1b6996f7afa3ac651659c40146117834.zip
*: Refactor if_lookup_by_name to be VRF aware
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/if_ioctl.c')
-rw-r--r--zebra/if_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/if_ioctl.c b/zebra/if_ioctl.c
index a4498a84f..2393e0f9c 100644
--- a/zebra/if_ioctl.c
+++ b/zebra/if_ioctl.c
@@ -201,7 +201,7 @@ if_getaddrs (void)
continue;
}
- ifp = if_lookup_by_name (ifap->ifa_name);
+ ifp = if_lookup_by_name (ifap->ifa_name, VRF_DEFAULT);
if (ifp == NULL)
{
zlog_err ("if_getaddrs(): Can't lookup interface %s\n",