mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
chan_sip: Fix a typo for tlsbindaddr in autodomain (SIP Domain Support).
Because of a copy-and-paste error when the struct ast_sockaddr changed, tlsbindaddr was not added, when sip.conf contained autodomain=yes; see "show sip domains" on the command-line interface (CLI) of Asterisk. ASTERISK-27106 Change-Id: I3d0957150017c223136968ef1266f275d0d6695e
This commit is contained in:
@@ -33288,7 +33288,7 @@ static int reload_config(enum channelreloadreason reason)
|
||||
!ast_sockaddr_cmp(&bindaddr, &sip_tls_desc.local_address) &&
|
||||
!ast_sockaddr_cmp(&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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user