Subject: Re: Bug in routing socket handling
To: None <tech-net@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: tech-net
Date: 10/23/2004 19:14:27
In article <86sm854716.fsf@athene.i.eunet.no>,
Tom Ivar Helbekkmo <tih@eunetnorge.no> wrote:
>christos@zoulas.com (Christos Zoulas) writes:
>
>> I've looked at the FreeBSD and OpenBSD versions of rtsock.c and they
>> don't make any special provisions either. How does asterix work there?
>
>Well, if they don't allow RTM_GET with the RTA_IFP or RTA_IFA flags
>set, it doesn't work in the case where it needs to listen to more than
>one interface. Asterisk then needs to ask the kernel what address
>will be the source address when sending UDP packets to a specified
>target (because the source address has to be embedded inside the SIP
>packet sent), so this code snippet needs to work:
>
Ok, I understand now and I have committed your patch. Thanks for explaining
further.
christos