[Asterisk-code-review] chan sip: Fix a typo for tlsbindaddr in autodomain (SIP Doma... (asterisk[master])
Jenkins2
asteriskteam at digium.com
Wed Jul 5 16:37:41 CDT 2017
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/5952 )
Change subject: chan_sip: Fix a typo for tlsbindaddr in autodomain (SIP Domain Support).
......................................................................
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
---
M channels/chan_sip.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Sean Bright: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index aaeb01e..dff1482 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -33288,7 +33288,7 @@
!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);
}
--
To view, visit https://gerrit.asterisk.org/5952
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3d0957150017c223136968ef1266f275d0d6695e
Gerrit-Change-Number: 5952
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: Alexander Traud <pabstraud at compuserve.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20170705/bf574c78/attachment.html>
More information about the asterisk-code-review
mailing list