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 /ospfd/ospf_te.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 'ospfd/ospf_te.c')
-rw-r--r-- | ospfd/ospf_te.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_te.c b/ospfd/ospf_te.c index 4c5862e84..449f9e7b9 100644 --- a/ospfd/ospf_te.c +++ b/ospfd/ospf_te.c @@ -2630,7 +2630,7 @@ DEFUN (show_ip_ospf_mpls_te_link, /* Interface name is specified. */ else { - if ((ifp = if_lookup_by_name (argv[idx_interface]->arg)) == NULL) + if ((ifp = if_lookup_by_name (argv[idx_interface]->arg, VRF_DEFAULT)) == NULL) vty_out (vty, "No such interface name%s", VTY_NEWLINE); else show_mpls_te_link_sub (vty, ifp); |