From: David Schweizer Date: Mon, 17 Aug 2020 10:03:27 +0000 (+0200) Subject: bgpd: minor fix for BGP instance shutdown. X-Git-Tag: base_7.5~51^2~8 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=f80e35b602897a87f8d891d10575c68ecf6ec5b2;p=matthieu%2Ffrr.git bgpd: minor fix for BGP instance shutdown. * Fixed missing first word due to wrong start field of string concatenation issue. Signed-off-by: David Schweizer --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 79a9a80f4f..cf6c776666 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -3613,7 +3613,7 @@ DEFPY (bgp_shutdown, VTY_DECLVAR_CONTEXT(bgp, bgp); if (argc > 3) - msgstr = argv_concat(argv, argc, 4); + msgstr = argv_concat(argv, argc, 3); bgp_shutdown_enable(bgp, msgstr); XFREE(MTYPE_TMP, msgstr);