diff options
author | James Yonan <james@openvpn.net> | 2011-01-10 19:13:02 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2011-01-10 19:13:02 +0000 |
commit | 15be3202b279abc431597db5d11e826eaf1c1bb6 (patch) | |
tree | 41d334d74545066eaa7f6e5b690bca7dd089ab32 /options.c | |
parent | Added --x509-track option. (diff) | |
download | openvpn-15be3202b279abc431597db5d11e826eaf1c1bb6.tar.xz |
* added --management-up-down option to allow management interface
to be notified of tunnel up/down events.
* pulled --ip-win32 options will be suppressed on the client
if --route-nopull option is specified.
Version 2.1.3f
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6813 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | options.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -341,6 +341,7 @@ static const char usage_message[] = "--management-signal : Issue SIGUSR1 when management disconnect event occurs.\n" "--management-forget-disconnect : Forget passwords when management disconnect\n" " event occurs.\n" + "--management-up-down : Report tunnel up/down events to management interface.\n" "--management-log-cache n : Cache n lines of log file history for usage\n" " by the management channel.\n" #if UNIX_SOCK_SUPPORT @@ -3632,6 +3633,11 @@ add_option (struct options *options, VERIFY_PERMISSION (OPT_P_GENERAL); options->management_flags |= MF_FORGET_DISCONNECT; } + else if (streq (p[0], "management-up-down")) + { + VERIFY_PERMISSION (OPT_P_GENERAL); + options->management_flags |= MF_UP_DOWN; + } else if (streq (p[0], "management-client")) { VERIFY_PERMISSION (OPT_P_GENERAL); |