summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-09-04 20:57:33 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-09-04 20:57:33 +0200
commite9b472dc9e31def5c8559c6d007fdf770d99d308 (patch)
treecef4bfba8c59ad8c77be8a63abab760029b8c5b2 /src/fastd.h
parentb54f78558b4efc72f22e525369761f130ad34f4e (diff)
downloadfastd-e9b472dc9e31def5c8559c6d007fdf770d99d308.tar
fastd-e9b472dc9e31def5c8559c6d007fdf770d99d308.zip
config: allow moving the 'on verify' clause into a peer group
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 3531219..cc638cb 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -257,6 +257,7 @@ struct fastd_config {
fastd_shell_command_t on_disestablish; /**< The command to execute when a connection has been disestablished */
#ifdef WITH_DYNAMIC_PEERS
fastd_shell_command_t on_verify; /**< The command to execute to check if a connection from an unknown peer should be allowed */
+ fastd_peer_group_t *on_verify_group; /**< The peer group to put dynamic peers into */
#endif
#ifdef WITH_STATUS_SOCKET