]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Merged revisions 216368 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Fri, 4 Sep 2009 13:56:09 +0000 (13:56 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 4 Sep 2009 13:56:09 +0000 (13:56 +0000)
commit68307855f97500775928f3380876eda5eb6f118b
treeabb9232fc5e2257ce1dac8719bb75d3fd1e3c5de
parent570cab502e369ed6c2f16167e03c4eaf0958ac80
Merged revisions 216368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r216368 | russell | 2009-09-04 08:14:25 -0500 (Fri, 04 Sep 2009) | 12 lines

  Do not treat every SIP peer as if they were configured with insecure=port.

  There was a problem in the function responsible for doing peer matching by
  IP address and port number such that during the second pass for checking for
  a peer configured with insecure=port, it would end up treating every peer as
  if it had been configured that way.  These changes fix the logic in the peer
  IP and port comparison callback to handle insecure=port checking properly.

  This problem was introduced when SIP peers were converted to astobj2.  Many
  thanks to dvossel for noticing this while working on another peer matching
  issue.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@216434 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c