[asterisk-commits] jpeeler: trunk r276389 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Jul 14 11:36:13 CDT 2010
Author: jpeeler
Date: Wed Jul 14 11:36:02 2010
New Revision: 276389
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=276389
Log:
Do not skip sending MWI for a peer if an address is defined. Really just a merge mistake from IPv6
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=276389&r1=276388&r2=276389
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Jul 14 11:36:02 2010
@@ -23835,7 +23835,7 @@
return 0;
/* Do we have an IP address? If not, skip this peer */
- if (ast_sockaddr_isnull(&peer->addr) || ast_sockaddr_isnull(&peer->defaddr))
+ if (ast_sockaddr_isnull(&peer->addr) && ast_sockaddr_isnull(&peer->defaddr))
return 0;
if (event) {
More information about the asterisk-commits
mailing list