X-Git-Url: https://www.tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Ftincctl.c;h=766b769ec5ac4358903f5cb94b4dc2db4e2a28b0;hb=453e6070ddfab2157f52536bdd7a79fc16f851f4;hp=0309cd4884ee3fc80ec93a993f552e536a2a9bbb;hpb=7c223917cb3d478fc3f5b23ee5602925f083e4d4;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 0309cd48..766b769e 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -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; @@ -1174,7 +1174,7 @@ static int cmd_dump(int argc, char *argv[]) { } else { if(only_reachable && !status.reachable) continue; - printf("%s id %s at %s port %s cipher %d digest %d maclength %d compression %d options %x status %04x nexthop %s via %s distance %d pmtu %hd (min %hd max %hd)\n", + printf("%s id %s at %s port %s cipher %d digest %d maclength %d compression %d options %x status %04x nexthop %s via %s distance %d pmtu %d (min %d max %d)\n", node, id, host, port, cipher, digest, maclength, compression, options, status_int, nexthop, via, distance, pmtu, minmtu, maxmtu); } } break;