Summary: | ASTERISK-01617: [patch] AF_INET needed for sending UDP on FreeBSD 5.2.1 | ||
Reporter: | rich (rich) | Labels: | |
Date Opened: | 2004-05-14 00:58:29 | Date Closed: | 2004-09-25 02:46:00 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_sip.c.bad.diff ( 1) chan_sip.c.good.diff | |
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 ****** more to follow. | ||
Comments: | By: rich (rich) 2004-05-14 00:59:14 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. By: Mark Spencer (markster) 2004-05-15 19:03:22 Can you find me on IRC? By: Mark Spencer (markster) 2004-05-16 02:02:03 Fixed in CVS properly. |