summaryrefslogtreecommitdiffstats
path: root/src/options.def.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-04-26 23:22:12 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-04-26 23:22:24 +0200
commit5871d08a3a519dbc54261c8a18e649ec9cc8bd7f (patch)
tree8c6ce34d5b0b9edec0abdacedbeec49efb969cd7 /src/options.def.h
parent36690c7203f0e46665f328fbe82ae3bd573cc6ff (diff)
downloadfastd-5871d08a3a519dbc54261c8a18e649ec9cc8bd7f.tar
fastd-5871d08a3a519dbc54261c8a18e649ec9cc8bd7f.zip
Make on-verify support optional
Diffstat (limited to 'src/options.def.h')
-rw-r--r--src/options.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/options.def.h b/src/options.def.h
index cb4480f..0f4c108 100644
--- a/src/options.def.h
+++ b/src/options.def.h
@@ -43,7 +43,9 @@ OPTION_ARG(option_on_post_down, "--on-post-down", "<command>", "Sets a shell com
OPTION_ARG(option_on_connect, "--on-connect", "<command>", "Sets a shell command to execute when a handshake is sent to establish a new connection");
OPTION_ARG(option_on_establish, "--on-establish", "<command>", "Sets a shell command to execute when a new connection is established");
OPTION_ARG(option_on_disestablish, "--on-disestablish", "<command>", "Sets a shell command to execute when a connection is lost");
+#ifdef WITH_VERIFY
OPTION_ARG(option_on_verify, "--on-verify", "<command>", "Sets a shell command to execute to check a connection attempt by an unknown peer");
+#endif
SEPARATOR;
#endif