summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2008-07-05 21:25:04 +0000
committerOlle Johansson <oej@edvina.net>2008-07-05 21:25:04 +0000
commitfc7517d76eb6c49fa0bfb469bedb609daeaedb7a (patch)
treede01ab030d150ba7523bdcb1e1b971b0c769fa49 /channels/chan_sip.c
parentbf848cc694b41ee1d2533c799c0804d01814ce27 (diff)
Set tls setting to default in reload_config.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index e5cfdd012..d4e2fa132 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -21006,6 +21006,7 @@ static int reload_config(enum channelreloadreason reason)
memset(&sip_tls_desc.sin, 0, sizeof(sip_tls_desc.sin));
sip_tcp_desc.sin.sin_family = AF_INET;
+ default_tls_cfg.enabled = FALSE;
sip_tcp_desc.sin.sin_port = htons(STANDARD_SIP_PORT);
sip_tls_desc.sin.sin_port = htons(STANDARD_TLS_PORT);