summaryrefslogtreecommitdiffstats
path: root/isisd/isis_te.c
diff options
context:
space:
mode:
Diffstat (limited to 'isisd/isis_te.c')
-rw-r--r--isisd/isis_te.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/isisd/isis_te.c b/isisd/isis_te.c
index 4ea6c2c60..a56c2836d 100644
--- a/isisd/isis_te.c
+++ b/isisd/isis_te.c
@@ -1175,7 +1175,8 @@ DEFUN (show_isis_mpls_te_interface,
}
} else {
/* Interface name is specified. */
- ifp = if_lookup_by_name(argv[idx_interface]->arg, VRF_DEFAULT);
+ ifp = if_lookup_by_name(argv[idx_interface]->arg,
+ vrf_lookup_by_id(VRF_DEFAULT));
if (ifp == NULL)
vty_out(vty, "No such interface name\n");
else {