Set tls setting to default in reload_config.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
bf848cc694
commit
fc7517d76e
1 changed files with 1 additions and 0 deletions
|
@ -21006,6 +21006,7 @@ static int reload_config(enum channelreloadreason reason)
|
||||||
memset(&sip_tls_desc.sin, 0, sizeof(sip_tls_desc.sin));
|
memset(&sip_tls_desc.sin, 0, sizeof(sip_tls_desc.sin));
|
||||||
|
|
||||||
sip_tcp_desc.sin.sin_family = AF_INET;
|
sip_tcp_desc.sin.sin_family = AF_INET;
|
||||||
|
default_tls_cfg.enabled = FALSE;
|
||||||
|
|
||||||
sip_tcp_desc.sin.sin_port = htons(STANDARD_SIP_PORT);
|
sip_tcp_desc.sin.sin_port = htons(STANDARD_SIP_PORT);
|
||||||
sip_tls_desc.sin.sin_port = htons(STANDARD_TLS_PORT);
|
sip_tls_desc.sin.sin_port = htons(STANDARD_TLS_PORT);
|
||||||
|
|
Loading…
Reference in a new issue