[asterisk-commits] r193387 - svn:log

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 8 15:34:30 CDT 2009


Author: dvossel
Revision: 193387
Modified property: svn:log

Modified: svn:log at Fri May  8 15:34:30 2009
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Fri May  8 15:34:30 2009
@@ -2,3 +2,5 @@
 
 find_peer() does not find a valid peer when using pvt->recv as the sockaddr_in argument.  Because of the way TCP works, the port number in pvt->recv is not what we're looking for at all.  There is currently only one place that find_peer searches for a peer using the sockaddr_in argument.  If the peer is not found after using pvt->recv (works for UDP since the port number will be correct), a temp sockaddr_in struct is made using the Contact header in the sip_request.  This has the correct port number in it.
 
+Review: http://reviewboard.digium.com/r/236/
+




More information about the asterisk-commits mailing list