[asterisk-commits] qwell: branch 1.8 r285369 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 7 15:58:40 CDT 2010


Author: qwell
Date: Tue Sep  7 15:58:34 2010
New Revision: 285369

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=285369
Log:
Add note to 'sip show settings' regarding dual-stack support, and a :: bindaddress.

(closes issue #17831)
Reported by: oej
Patches: 
      17831-v6wildcardbind.diff uploaded by qwell (license 4)

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=285369&r1=285368&r2=285369
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Tue Sep  7 15:58:34 2010
@@ -16810,6 +16810,10 @@
 	ast_cli(a->fd, "\n\nGlobal Settings:\n");
 	ast_cli(a->fd, "----------------\n");
 	ast_cli(a->fd, "  UDP Bindaddress:        %s\n", ast_sockaddr_stringify(&bindaddr));
+	if (ast_sockaddr_is_ipv6(&bindaddr) && ast_sockaddr_is_any(&bindaddr)) {
+		ast_cli(a->fd, "  ** Additional Info:\n");
+		ast_cli(a->fd, "     [::] may include IPv4 in addition to IPv6, if such a feature is enabled in the OS.\n");
+	}
 	ast_cli(a->fd, "  TCP SIP Bindaddress:    %s\n",
 		sip_cfg.tcp_enabled != FALSE ?
 				ast_sockaddr_stringify(&sip_tcp_desc.local_address) :




More information about the asterisk-commits mailing list