summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2010-02-06 16:03:13 +0000
committerChristian Pointner <equinox@anytun.org>2010-02-06 16:03:13 +0000
commit2b3a72143af34177543c8542ccd57866d78cb275 (patch)
treed05800530d3c9f0d15a44869c1cf4c0c5d9f9894 /src/options.cpp
parentremoved Doxygen config (diff)
removed NO_EXEC
added NOMINMAX to windows build targets
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/options.cpp b/src/options.cpp
index c393c9f..6458621 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -428,9 +428,7 @@ bool Options::parse(int argc, char* argv[])
PARSE_SCALAR_PARAM("-d","--dev", dev_name_, NOTHING)
PARSE_SCALAR_PARAM("-t","--type", dev_type_, NOTHING)
PARSE_SCALAR_PARAM("-n","--ifconfig", ifconfig_param_, NOTHING)
- #ifndef NO_EXEC
PARSE_SCALAR_PARAM("-x","--post-up-script", post_up_script_, NOTHING)
- #endif
#endif
#if defined(ANYTUN_OPTIONS) || defined(ANYCONF_OPTIONS)
@@ -607,9 +605,7 @@ void Options::printUsage()
std::cout << " [-d|--dev] <name> device name" << std::endl;
std::cout << " [-t|--type] <tun|tap> device type" << std::endl;
std::cout << " [-n|--ifconfig] <local>/<prefix> the local address for the tun/tap device and the used prefix length" << std::endl;
- #ifndef NO_EXEC
std::cout << " [-x|--post-up-script] <script> script gets called after interface is created" << std::endl;
- #endif
#endif
#if defined(ANYTUN_OPTIONS) || defined(ANYCONF_OPTIONS)