]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Fix Auto generation of redistribution strings
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 27 Jan 2017 20:36:09 +0000 (15:36 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 27 Jan 2017 20:37:14 +0000 (15:37 -0500)
When we changed the parser we forgot to update this
script to modify the '(...)' to '<...>'

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
lib/route_types.pl

index 62c7417b845e159b867b84813a195d82bbdf5e45..27ca950787e8828fa3a39d69d31fe8892fae7975 100755 (executable)
@@ -149,7 +149,7 @@ sub collect {
                push @names, "any";
                push @help, "  \"Any of the above protocols\\n\"";
        }
-       return ("\"(" . join("|", @names) . ")\"", join(" \\\n", @help));
+       return ("\"<" . join("|", @names) . ">\"", join(" \\\n", @help));
 }
 
 for my $daemon (sort keys %daemons) {