[Battlemesh] OLSR src IP bug

Markus Kittenberger Markus.Kittenberger at gmx.at
Mon Apr 4 11:24:54 UTC 2011


On Sun, Apr 3, 2011 at 8:50 PM, Juliusz Chroboczek <jch at pps.jussieu.fr>wrote:

> > other approach is (like babel) to rely on the somewhat
> > unexpected/unexplainable differences in kernel for routes having a
> gateway,
> > and hope they do what we want in all conditions,..
>
> Hmm... ip_rt_get_source(route.c) calls inet_select_addr with the gateway
> as second parameter.  If the gateway is set, inet_select_addr(devinet.c)
> will choose the address that matches the gateway address; if it's not,
> then it will simply choose the first address.
>
> hmm, we better stop omitting irrelevant  gateway in olsrd, cause its not
irrelevant *G


> It looks to me like the "no explicit gw" case is buggy, i.e. it only
> works by accident.
>
jes *G

thanks Juliusz, for looking this up.

Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ml.ninux.org/pipermail/battlemesh/attachments/20110404/07d7c7da/attachment.htm>


More information about the Battlemesh mailing list