diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-02-03 09:04:52 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2006-02-03 09:04:52 +0000 |
commit | 8d33c060282fedc26d46e02aeee98fb751330adb (patch) | |
tree | 51ec9482e012e08e93759fdde9329b76d60442bd /init.c | |
parent | Added --management-client option to connect as a client to (diff) | |
download | openvpn-8d33c060282fedc26d46e02aeee98fb751330adb.tar.xz |
Added feature to --management-client to confirm connection
by writing IP addr and port to a file.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@885 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'init.c')
-rw-r--r-- | init.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2393,7 +2393,8 @@ open_management (struct context *c) c->options.management_echo_buffer_size, c->options.management_state_buffer_size, c->options.management_hold, - c->options.management_client)) + c->options.management_client, + c->options.management_write_peer_info_file)) { management_set_state (management, OPENVPN_STATE_CONNECTING, @@ -2665,7 +2666,8 @@ init_instance (struct context *c, const struct env_set *env, const unsigned int return; sig: - c->sig->signal_text = "init_instance"; + if (!c->sig->signal_text) + c->sig->signal_text = "init_instance"; close_context (c, -1, flags); return; } |