From: Quentin Young Date: Fri, 2 Jun 2017 21:48:01 +0000 (+0000) Subject: bgpd: fix large-community-list commands X-Git-Tag: reindent-master-before~85^2^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ce2570bc0a1810a6dd1eaea683d4a8a73c00a53c;p=matthieu%2Ffrr.git bgpd: fix large-community-list commands Signed-off-by: Quentin Young --- diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 66689c8367..7e2912440a 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -11249,6 +11249,7 @@ lcommunity_list_set_vty (struct vty *vty, int argc, struct cmd_token **argv, return CMD_WARNING; } + idx = 0; argv_find (argv, argc, "AA:BB:CC", &idx); argv_find (argv, argc, "LINE", &idx); /* Concat community string argument. */