diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-11 07:27:15 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 10:36:23 -0400 |
| commit | 1306c09a1b6996f7afa3ac651659c40146117834 (patch) | |
| tree | cb1a038dfebfb2532b8b067ffdb79d04eae41518 /zebra/kernel_socket.c | |
| parent | a90607a4ba81caec852bd2e15f541ff12b08c031 (diff) | |
*: Refactor if_lookup_by_name to be VRF aware
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 ad04e1a8a4..fee7bce1cd 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -487,7 +487,7 @@ ifm_read (struct if_msghdr *ifm) * be filled in. */ if ( (ifp == NULL) && ifnlen) - ifp = if_lookup_by_name (ifname); + ifp = if_lookup_by_name (ifname, VRF_DEFAULT); /* * If ifp still does not exist or has an invalid index (IFINDEX_INTERNAL), |
