]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgpd: skip run as option can be reused
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 25 Sep 2017 14:13:11 +0000 (16:13 +0200)
committerLou Berger <lberger@labn.net>
Thu, 26 Oct 2017 12:04:47 +0000 (08:04 -0400)
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 5eb7cb634fa5312c93bb8f0327370c2722891795..79a294bd4f98a044e268de57071c5fbde1453d40 100644 (file)
@@ -347,7 +347,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"