diff options
author | Automerge script <automerge@asterisk.org> | 2013-01-17 03:20:22 +0000 |
---|---|---|
committer | Automerge script <automerge@asterisk.org> | 2013-01-17 03:20:22 +0000 |
commit | 299f913928d34600a777b59211d125d2b0b53a6b (patch) | |
tree | 7c9d06fba44425f77d04d3c7645dbb116972886d /tests | |
parent | 29620f5a6e35812e22f58c1ffef8858434c52605 (diff) |
Merged revisions 379344 via svnmerge from
file:///srv/subversion/repos/asterisk/trunk
................
r379344 | mjordan | 2013-01-16 20:32:34 -0600 (Wed, 16 Jan 2013) | 23 lines
Fix issue where chan_mobile fails to bind to first available port
Per the bluez API, in order to bind to the first available port, the rc_channel
field of the socket addressing structure used to bind the socket should be set
to 0. Previously, Asterisk had set the rc_channel field set to 1, causing it
to connect to whatever happens to be on port 1.
We could probably not explicitly set rc_channel to 0 since we memset the struct
earlier, but explicitly setting it will hopefully prevent someone from coming
in and setting it to some explicit port in the future.
(closes issue ASTERISK-16357)
Reported by: challado
Tested by: Alexander Heinz, Nikolay Ilduganov, benjamin, eliafino, David van Geyn
patches:
ASTERISK-16357.diff uploaded by Nikolay Ilduganov (license 6253)
........
Merged revisions 379342 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 379343 from http://svn.asterisk.org/svn/asterisk/branches/11
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@379353 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions