[Asterisk-code-review] chan sip: Fix a typo for tlsbindaddr in autodomain (SIP Doma... (asterisk[14])
Joshua Colp
asteriskteam at digium.com
Wed Jul 5 06:23:18 CDT 2017
Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/5954 )
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; Approved for Submit
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 5affee6..118b5d5 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -33289,7 +33289,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/5954
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 14
Gerrit-MessageType: merged
Gerrit-Change-Id: I3d0957150017c223136968ef1266f275d0d6695e
Gerrit-Change-Number: 5954
Gerrit-PatchSet: 1
Gerrit-Owner: Alexander Traud <pabstraud at compuserve.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/863cda96/attachment.html>
More information about the asterisk-code-review
mailing list