mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 01:37:53 +00:00
bgpd: Remove dead code from recent commit
Recent commit 4d0e7a49cf
brought in changes that moved a check for ret up
in the code, caused some code to be left around
and be effectively dead since it would never be called.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
2203dc4777
commit
40c94ca369
@ -10609,13 +10609,6 @@ DEFPY(bgp_imexport_vrf, bgp_imexport_vrf_cmd,
|
||||
*/
|
||||
SET_FLAG(vrf_bgp->vrf_flags, BGP_VRF_AUTO);
|
||||
}
|
||||
|
||||
if (ret) {
|
||||
vty_out(vty,
|
||||
"VRF %s is not configured as a bgp instance\n",
|
||||
import_name);
|
||||
return CMD_WARNING;
|
||||
}
|
||||
}
|
||||
|
||||
if (remove) {
|
||||
|
Loading…
Reference in New Issue
Block a user