]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: skip run as option can be reused 1239/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 25 Sep 2017 14:13:11 +0000 (16:13 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 25 Sep 2017 16:33:56 +0000 (18:33 +0200)
the '-S' option was not usable, whereas it was shown on the vty.
Enable the '-S' option.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_main.c

index fa8c45b004a849e6e804fe7cd14ed53a2ac81518..dfd639c92c70d9dd1193d0d878067ba9928362de 100644 (file)
@@ -320,7 +320,7 @@ int main(int argc, char **argv)
 
        frr_preinit(&bgpd_di, argc, argv);
        frr_opt_add(
-               "p:l:rne:", longopts,
+               "p:l:rSne:", longopts,
                "  -p, --bgp_port     Set bgp protocol's port number\n"
                "  -l, --listenon     Listen on specified address (implies -n)\n"
                "  -r, --retain       When program terminates, retain added route by bgpd.\n"