Add some comments...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
fc7517d76e
commit
6de5e8552b
1 changed files with 2 additions and 2 deletions
|
@ -21005,8 +21005,8 @@ static int reload_config(enum channelreloadreason reason)
|
||||||
memset(&sip_tcp_desc.sin, 0, sizeof(sip_tcp_desc.sin));
|
memset(&sip_tcp_desc.sin, 0, sizeof(sip_tcp_desc.sin));
|
||||||
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: Enable TCP sessions */
|
||||||
default_tls_cfg.enabled = FALSE;
|
default_tls_cfg.enabled = FALSE; /* Default: Disable TLS */
|
||||||
|
|
||||||
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