]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: fix large-community-list commands
authorQuentin Young <qlyoung@cumulusnetworks.com>
Fri, 2 Jun 2017 21:48:01 +0000 (21:48 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Sun, 4 Jun 2017 19:04:56 +0000 (19:04 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_vty.c

index 66689c836753121b087293ff250369ecaf396f02..7e2912440aa3788b1ed92d91bd940767c3172bf5 100644 (file)
@@ -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. */