mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 10:56:37 +00:00
ospfd: fix clear ip ospf interface cmd
clear ip ospf interface <IFNAME> parsing issue, instead of arguement of interface "IFNAME" parsed. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
3ba2603926
commit
fac05f2fd6
@ -9099,7 +9099,7 @@ DEFUN (clear_ip_ospf_interface,
|
|||||||
}
|
}
|
||||||
else /* Interface name is specified. */
|
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);
|
vty_out (vty, "No such interface name%s", VTY_NEWLINE);
|
||||||
else
|
else
|
||||||
ospf_interface_clear(ifp);
|
ospf_interface_clear(ifp);
|
||||||
|
Loading…
Reference in New Issue
Block a user