[asterisk-commits] russell: trunk r153403 -	/trunk/channels/chan_sip.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Sat Nov  1 18:46:13 CDT 2008
    
    
  
Author: russell
Date: Sat Nov  1 18:46:12 2008
New Revision: 153403
URL: http://svn.digium.com/view/asterisk?view=rev&rev=153403
Log:
Don't ignore the result of find_peer() when looking for a peer by IP in check_peer_ok().
Modified:
    trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=153403&r1=153402&r2=153403
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sat Nov  1 18:46:12 2008
@@ -12363,7 +12363,7 @@
 
 		/* Then find devices based on IP */
 		if (!peer) {
-			find_peer(NULL, &p->recv, TRUE, FINDALLDEVICES, FALSE);
+			peer = find_peer(NULL, &p->recv, TRUE, FINDALLDEVICES, FALSE);
 		}
 	}
 
    
    
More information about the asterisk-commits
mailing list