summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index bdff0a998..ea6936371 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -33288,7 +33288,7 @@ static int reload_config(enum channelreloadreason reason)
ast_sockaddr_cmp_addr(&bindaddr, &sip_tls_desc.local_address) &&
ast_sockaddr_cmp_addr(&sip_tcp_desc.local_address,
&sip_tls_desc.local_address)) {
- add_sip_domain(ast_sockaddr_stringify_addr(&sip_tcp_desc.local_address),
+ add_sip_domain(ast_sockaddr_stringify_addr(&sip_tls_desc.local_address),
SIP_DOMAIN_AUTO, NULL);
}