[PATCH] fixes --ipv6_domain
Hi,
Maybe --ipv6_domian is typo, I think.
So this patch fixes it and --help message.
Please apply this patch.
Index: src/Locale.c
===================================================================
--- src/Locale.c (revision 11)
+++ src/Locale.c (working copy)
@@ -89,7 +89,7 @@
-C, --compatibility for use with older versions does not sent extra msgs\n\
-M, --mss # set TCP maximum segment size (MTU - 40 bytes)\n\
-N, --nodelay set TCP no delay, disabling Nagle's Algorithm\n\
- -V, --IPv6Version Set the domain to IPv6\n\
+ -V, --ipv6_domain set the domain to IPv6\n\
\n\
Server specific:\n\
-s, --server run in server mode\n\
@@ -142,7 +142,7 @@
-C, --compatibility for use with older versions does not sent extra msgs\n\
-M, --mss # set TCP maximum segment size (MTU - 40 bytes)\n\
-N, --nodelay set TCP no delay, disabling Nagle's Algorithm\n\
- -V, --IPv6Version Set the domain to IPv6\n\
+ -V, --ipv6_domain set the domain to IPv6\n\
\n\
Server specific:\n\
-s, --server run in server mode\n\
Index: src/Settings.cpp
===================================================================
--- src/Settings.cpp (revision 11)
+++ src/Settings.cpp (working copy)
@@ -118,7 +118,7 @@
{"tos", required_argument, NULL, 'S'},
{"ttl", required_argument, NULL, 'T'},
{"single_udp", no_argument, NULL, 'U'},
-{"ipv6_domian", no_argument, NULL, 'V'},
+{"ipv6_domain", no_argument, NULL, 'V'},
{"suggest_win_size", no_argument, NULL, 'W'},
{0, 0, 0, 0}
};
---
Yuya.Nishida.
http://www.j96.org/~yuya/