[Home]

Summary:ASTERISK-02604: BSD systems fail with "bindaddr=0.0.0.0"
Reporter:tih (tih)Labels:
Date Opened:2004-10-14 01:54:44Date Closed:2008-01-15 15:10:32.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) DIFFS.routing.txt
Description:The ast_ouraddrfor() function in acl.c, which finds what local address we should use for a given other host, fails. The cause is an error in the query written to the routing socket: the query claims to pass two address structures to the routing engine, but only passes one. Removing the erroneous claim to be including a local interface address fixes it.

****** ADDITIONAL INFORMATION ******

The attached patch also corrects a use of the constant '0' instead of the proper 'AF_UNSPEC', observed nearby.
Comments:By: Mark Spencer (markster) 2004-10-14 14:48:27

Fixed in CVS.  Please be sure to mention having a disclaimer in the future, especially if you are doing something non trivial (this one is trivial enough not to worry about).

By: Russell Bryant (russell) 2004-10-14 19:11:07

fixed in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:10:27.000-0600

Repository: asterisk
Revision: 4004

U   trunk/acl.c

------------------------------------------------------------------------
r4004 | markster | 2008-01-15 15:10:26 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix some small typos (bug ASTERISK-2604)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4004

By: Digium Subversion (svnbot) 2008-01-15 15:10:32.000-0600

Repository: asterisk
Revision: 4010

U   branches/v1-0/acl.c

------------------------------------------------------------------------
r4010 | russell | 2008-01-15 15:10:31 -0600 (Tue, 15 Jan 2008) | 2 lines

Fix some small typos (bug ASTERISK-2604)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=4010