summaryrefslogtreecommitdiff
path: root/src/options.cpp
diff options
context:
space:
mode:
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_)