summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJafar Al-Gharaibeh <jafar@atcorp.com>2024-09-25 10:56:04 -0500
committerGitHub <noreply@github.com>2024-09-25 10:56:04 -0500
commitf5fb095433e8e1d048ca753ffa84cb68e70fdc7d (patch)
tree22a9e43e819e524510a69861fe33e959b10021e7
parenta172bea84bbafe35203803e01d080262fc030dd7 (diff)
parent40c94ca369a7ac7180a611fd7f5de918f5743416 (diff)
Merge pull request #16915 from donaldsharp/bgp_dead_code
bgpd: Remove dead code from recent commit
-rw-r--r--bgpd/bgp_vty.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index cf74a6566c..e7be2a33d2 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -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) {