From e628a01fffba231a1f0f729bdb509abcba6e6f0b Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 13 Apr 2014 18:21:17 +0200 Subject: Add on-connect hook --- src/options.def.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/options.def.h') 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", "", "Sets a shell command t OPTION_ARG(option_on_up, "--on-up", "", "Sets a shell command to execute after interface creation"); OPTION_ARG(option_on_down, "--on-down", "", "Sets a shell command to execute before interface destruction"); OPTION_ARG(option_on_post_down, "--on-post-down", "", "Sets a shell command to execute after interface destruction"); +OPTION_ARG(option_on_connect, "--on-connect", "", "Sets a shell command to execute when a handshake is sent to establish a new connection"); OPTION_ARG(option_on_establish, "--on-establish", "", "Sets a shell command to execute when a new connection is established"); OPTION_ARG(option_on_disestablish, "--on-disestablish", "", "Sets a shell command to execute when a connection is lost"); OPTION_ARG(option_on_verify, "--on-verify", "", "Sets a shell command to execute to check a connection attempt by an unknown peer"); -- cgit v1.2.3