diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-11 13:27:15 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-15 15:36:23 +0100 |
commit | 1306c09a1b6996f7afa3ac651659c40146117834 (patch) | |
tree | cb1a038dfebfb2532b8b067ffdb79d04eae41518 /nhrpd/nhrp_interface.c | |
parent | lib, ospf6d: Refactor if_lookup_prefix (diff) | |
download | frr-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 'nhrpd/nhrp_interface.c')
-rw-r--r-- | nhrpd/nhrp_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nhrpd/nhrp_interface.c b/nhrpd/nhrp_interface.c index 052b9c1e8..bbaa630cd 100644 --- a/nhrpd/nhrp_interface.c +++ b/nhrpd/nhrp_interface.c @@ -117,7 +117,7 @@ static void nhrp_interface_update_nbma(struct interface *ifp) sockunion_family(&nbma) = AF_UNSPEC; if (nifp->source) - nbmaifp = if_lookup_by_name(nifp->source); + nbmaifp = if_lookup_by_name(nifp->source, VRF_DEFAULT); switch (ifp->ll_type) { case ZEBRA_LLT_IPGRE: { |