]> www.tinc-vpn.org Git - tinc/blobdiff - src/tincctl.c
Fix parsing of -b flag
[tinc] / src / tincctl.c
index 9eb9a1b003e1f2c3c8ae14427c41dd747005f1eb..766b769ec5ac4358903f5cb94b4dc2db4e2a28b0 100644 (file)
@@ -168,7 +168,7 @@ static bool parse_options(int argc, char **argv) {
        int r;
        int option_index = 0;
 
-       while((r = getopt_long(argc, argv, "+c:n:", long_options, &option_index)) != EOF) {
+       while((r = getopt_long(argc, argv, "+bc:n:", long_options, &option_index)) != EOF) {
                switch (r) {
                        case 0:   /* long option */
                                break;