[asterisk-commits] qwell: trunk r285394 - in /trunk: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 7 16:21:55 CDT 2010


Author: qwell
Date: Tue Sep  7 16:21:49 2010
New Revision: 285394

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=285394
Log:
Merged revisions 285369 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r285369 | qwell | 2010-09-07 15:58:34 -0500 (Tue, 07 Sep 2010) | 7 lines
  
  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:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=285394&r1=285393&r2=285394
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Sep  7 16:21:49 2010
@@ -16813,6 +16813,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