]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: add new line for prompt of "no router bgp"
authoranlan_cs <vic.lan@pica8.com>
Sun, 20 Feb 2022 01:02:46 +0000 (20:02 -0500)
committeranlan_cs <vic.lan@pica8.com>
Tue, 15 Mar 2022 13:55:28 +0000 (09:55 -0400)
Simple prompt issue.
"no router bgp <ASN>" is ok, but "no router bgp" without <ASN> missed "\n".

Signed-off-by: anlan_cs <vic.lan@pica8.com>
bgpd/bgp_vty.c

index d21e257cb5e91ac06a8ebadecbebba10ec29f3e8..dea1433f6dfdc92459852e1c8490f5a32024778b 100644 (file)
@@ -1486,7 +1486,7 @@ DEFUN (no_router_bgp,
                }
 
                if (bgp->l3vni) {
-                       vty_out(vty, "%% Please unconfigure l3vni %u",
+                       vty_out(vty, "%% Please unconfigure l3vni %u\n",
                                bgp->l3vni);
                        return CMD_WARNING_CONFIG_FAILED;
                }