Commit 7ccd0b6c authored by Fong's avatar Fong
Browse files

add -t option

parent ca9fe2fb
...@@ -34,7 +34,7 @@ int main(int argc, char** argv) ...@@ -34,7 +34,7 @@ int main(int argc, char** argv)
static char usage[] = "usage: [-h] [-H STUN_HOST] [-t ttl] [-P STUN_PORT] [-s punch server] [-d id] [-i SOURCE_IP] [-p SOURCE_PORT] [-v verbose]\n"; static char usage[] = "usage: [-h] [-H STUN_HOST] [-t ttl] [-P STUN_PORT] [-s punch server] [-d id] [-i SOURCE_IP] [-p SOURCE_PORT] [-v verbose]\n";
int opt; int opt;
while ((opt = getopt (argc, argv, "H:h:P:p:s:d:i")) != -1) while ((opt = getopt (argc, argv, "H:h:t:P:p:s:d:i")) != -1)
{ {
switch (opt) switch (opt)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment