From fac05f2fd6495532cf2d24bd2ab49c6e6dbda1d4 Mon Sep 17 00:00:00 2001 From: Chirag Shah Date: Fri, 2 Jun 2017 22:52:41 -0700 Subject: [PATCH] ospfd: fix clear ip ospf interface cmd clear ip ospf interface parsing issue, instead of arguement of interface "IFNAME" parsed. Signed-off-by: Chirag Shah --- ospfd/ospf_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index d987fef433..bcab2e90ff 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -9099,7 +9099,7 @@ DEFUN (clear_ip_ospf_interface, } else /* Interface name is specified. */ { - if ((ifp = if_lookup_by_name (argv[idx_ifname]->text, VRF_DEFAULT)) == NULL) + if ((ifp = if_lookup_by_name (argv[idx_ifname]->arg, VRF_DEFAULT)) == NULL) vty_out (vty, "No such interface name%s", VTY_NEWLINE); else ospf_interface_clear(ifp); -- 2.39.5