diff options
author | Dimitri Staessens <[email protected]> | 2018-11-29 20:25:32 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2018-11-30 09:27:14 +0100 |
commit | 555e0a91ee711599b909857a9aae3ac83310b3fa (patch) | |
tree | 50068eb7b1e587ed224034dd1188a5bf099756f6 /src/tools | |
parent | 5f5edf2ddb94bbf7571d511eb6bdbe8d3798408b (diff) | |
download | ouroboros-555e0a91ee711599b909857a9aae3ac83310b3fa.tar.gz ouroboros-555e0a91ee711599b909857a9aae3ac83310b3fa.zip |
tools: Fix server name argument in oping
The --server-name option was mistyped with an underscore in the
argument parser.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/oping/oping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/oping/oping.c b/src/tools/oping/oping.c index c49688b0..1e98cd3c 100644 --- a/src/tools/oping/oping.c +++ b/src/tools/oping/oping.c @@ -178,7 +178,7 @@ int main(int argc, client.interval *= time_mul(rem); --argc; } else if (strcmp(*argv, "-n") == 0 || - strcmp(*argv, "--server_name") == 0) { + strcmp(*argv, "--server-name") == 0) { client.s_apn = *(++argv); --argc; } else if (strcmp(*argv, "-c") == 0 || |