diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-16 01:46:24 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2005-10-16 01:46:24 +0000 |
commit | 7ef85434edf4b408405819453ca732b4e8a55049 (patch) | |
tree | 1bff2bdb49e87edc451ab40cf7c581c2e5dc5c62 /manage.c | |
parent | bf1179323217811a611a6df2ec22868191ff7a5c (diff) | |
download | openvpn-7ef85434edf4b408405819453ca732b4e8a55049.tar.gz openvpn-7ef85434edf4b408405819453ca732b4e8a55049.tar.xz openvpn-7ef85434edf4b408405819453ca732b4e8a55049.zip |
Fixed bug introduced in 2.1-beta3 where management
socket bind would fail.
Pre-2.1-beta4
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@635 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'manage.c')
-rw-r--r-- | manage.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -840,9 +840,7 @@ man_listen (struct management *man) /* * Bind socket */ - if (bind (man->connection.sd_top, (struct sockaddr *) &man->settings.local, sizeof (man->settings.local))) - msg (M_SOCKERR, "MANAGEMENT: Cannot bind TCP socket on %s", - print_sockaddr (&man->settings.local, &gc)); + socket_bind (man->connection.sd_top, &man->settings.local, "MANAGEMENT"); /* * Listen for connection |