aboutsummaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
commit8d33c060282fedc26d46e02aeee98fb751330adb (patch)
tree51ec9482e012e08e93759fdde9329b76d60442bd /init.c
parentAdded --management-client option to connect as a client to (diff)
downloadopenvpn-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 '')
-rw-r--r--init.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.c b/init.c
index 97bf9ec..b1ef034 100644
--- a/init.c
+++ b/init.c
@@ -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;
}