mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 06:59:21 +00:00
Merge pull request #1599 from chiragshah6/mdev
ospfd: Fix no passive interface command parsing
This commit is contained in:
commit
4060fcc47b
@ -534,11 +534,11 @@ DEFUN (no_ospf_passive_interface,
|
||||
}
|
||||
|
||||
if (ospf->vrf_id != VRF_UNKNOWN)
|
||||
ifp = if_get_by_name(argv[1]->arg, ospf->vrf_id, 0);
|
||||
ifp = if_get_by_name(argv[2]->arg, ospf->vrf_id, 0);
|
||||
|
||||
if (ifp == NULL) {
|
||||
vty_out(vty, "interface %s not found.\n",
|
||||
(char *)argv[1]->arg);
|
||||
(char *)argv[2]->arg);
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user