diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-13 18:21:17 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-04-13 18:21:17 +0200 |
commit | e628a01fffba231a1f0f729bdb509abcba6e6f0b (patch) | |
tree | 56e71649d6036116ea3d78a28af4f6876625ec72 /src/options.def.h | |
parent | 7cac6770e0b380d6e5f37b9fad71c9f7f15952ba (diff) | |
download | fastd-e628a01fffba231a1f0f729bdb509abcba6e6f0b.tar fastd-e628a01fffba231a1f0f729bdb509abcba6e6f0b.zip |
Add on-connect hook
Diffstat (limited to 'src/options.def.h')
-rw-r--r-- | src/options.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.def.h b/src/options.def.h index 8a85751..cb4480f 100644 --- a/src/options.def.h +++ b/src/options.def.h @@ -40,6 +40,7 @@ OPTION_ARG(option_on_pre_up, "--on-pre-up", "<command>", "Sets a shell command t OPTION_ARG(option_on_up, "--on-up", "<command>", "Sets a shell command to execute after interface creation"); OPTION_ARG(option_on_down, "--on-down", "<command>", "Sets a shell command to execute before interface destruction"); OPTION_ARG(option_on_post_down, "--on-post-down", "<command>", "Sets a shell command to execute after interface destruction"); +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"); OPTION_ARG(option_on_verify, "--on-verify", "<command>", "Sets a shell command to execute to check a connection attempt by an unknown peer"); |