summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-01-21 01:50:33 +0000
committerChristian Pointner <equinox@anytun.org>2009-01-21 01:50:33 +0000
commit020ee1bc191ea36d2e911fd4549225641c66027b (patch)
treec3f7a3823b88df1f13e2eacad8849836391653fa /src/options.cpp
parentWindows tunDevice cleanup (diff)
no routing disable -R and warning
Diffstat (limited to 'src/options.cpp')
-rw-r--r--src/options.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.cpp b/src/options.cpp
index 58ac181..c738281 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -337,7 +337,9 @@ bool Options::parse(int argc, char* argv[])
#ifndef NO_EXEC
PARSE_SCALAR_PARAM("-x","--post-up-script", post_up_script_)
#endif
+#ifndef NO_ROUTING
PARSE_CSLIST_PARAM("-R","--route", routes_, OptionRoute)
+#endif
PARSE_SCALAR_PARAM("-s","--sender-id", sender_id_)
PARSE_SCALAR_PARAM("-m","--mux", mux_)