[Home]

Summary:ASTERISK-01616: AF_INET needed for sending UDP on FreeBSD 5.2.1
Reporter:rich (rich)Labels:
Date Opened:2004-05-14 00:55:36Date Closed:2011-06-07 14:10:39
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:__sip_xmit generates runtime error messages "address family not supported by protocol family" when sin_family is zero.  chan_sip.c.good.diff sets sin_family = AF_INET in __sip_xmit just before the value is used.

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

I was unable to catch the initializaion in the debugger 'cause I could only trace back to the scheduler.  I tried to initialize sin_family for every sockaddr_in I could find, but none of them seemd to fix it.  chan_sip.c.bad.diff shows all the places that I sin_family where the structure is being initialized.  But none of these elminiated the "address family not supported" messages.
Comments: