Fix bug in ssl_client2 reconnect option
This commit is contained in:
parent
b46780edee
commit
484b8f9ed8
1 changed files with 1 additions and 1 deletions
|
@ -1330,7 +1330,7 @@ reconnect:
|
|||
goto exit;
|
||||
}
|
||||
|
||||
if( ( ret = net_connect( &server_fd, opt.server_name, opt.server_port,
|
||||
if( ( ret = net_connect( &server_fd, opt.server_addr, opt.server_port,
|
||||
opt.transport == SSL_TRANSPORT_STREAM ?
|
||||
NET_PROTO_TCP : NET_PROTO_UDP ) ) != 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue