diff options
author | Christian Pointner <equinox@anytun.org> | 2008-11-25 14:08:42 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2008-11-25 14:08:42 +0000 |
commit | 041985d1488f81ba1cc060721eb5290fdc52dd0a (patch) | |
tree | 1cd49c714544ef4237400cd075b537e317ad0560 /src/anyCtrOptions.cpp | |
parent | options parser support ipv6 now (diff) |
updated manpages
some cleanups
Diffstat (limited to 'src/anyCtrOptions.cpp')
-rw-r--r-- | src/anyCtrOptions.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/anyCtrOptions.cpp b/src/anyCtrOptions.cpp index 2256677..cd98345 100644 --- a/src/anyCtrOptions.cpp +++ b/src/anyCtrOptions.cpp @@ -61,7 +61,7 @@ Options::Options() chroot_dir_ = "/var/run/anytun-controld"; pid_file_ = ""; bind_to_addr_ = "127.0.0.1"; - bind_to_port_ = "4445"; + bind_to_port_ = "2323"; } Options::~Options() @@ -226,8 +226,8 @@ void Options::printUsage() std::cout << " [-H|--chroot-dir] <path> chroot to this directory" << std::endl; std::cout << " [-P|--write-pid] <path> write pid to this file" << std::endl; std::cout << " [-f|--file] <path> path to file" << std::endl; - std::cout << " [-X|--control-host] <host:port> local tcp port to bind to" << std::endl; - + std::cout << " [-X|--control-host] < <hostname|ip>[:<port>] | :<port> >" << std::endl; + std::cout << " local tcp port and or ip address to bind to" << std::endl; } void Options::printOptions() |