summaryrefslogtreecommitdiffstats
path: root/isisd/isis_te.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 /isisd/isis_te.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 'isisd/isis_te.c')
-rw-r--r--isisd/isis_te.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_te.c b/isisd/isis_te.c
index 830ccb37c..b04d0db3c 100644
--- a/isisd/isis_te.c
+++ b/isisd/isis_te.c
@@ -1323,7 +1323,7 @@ DEFUN (show_isis_mpls_te_interface,
/* 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_sub (vty, ifp);