Set tls setting to default in reload_config.
authorOlle Johansson <oej@edvina.net>
Sat, 5 Jul 2008 21:25:04 +0000 (21:25 +0000)
committerOlle Johansson <oej@edvina.net>
Sat, 5 Jul 2008 21:25:04 +0000 (21:25 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@128274 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index e5cfdd0..d4e2fa1 100644 (file)
@@ -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);