From ce2570bc0a1810a6dd1eaea683d4a8a73c00a53c Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Fri, 2 Jun 2017 21:48:01 +0000 Subject: [PATCH] bgpd: fix large-community-list commands Signed-off-by: Quentin Young --- bgpd/bgp_vty.c | 1 + 1 file changed, 1 insertion(+) 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. */ -- 2.39.5