[Olsr-dev] MainIp and SrcIpRoutes do not work
Tue Aug 31 21:53:47 CEST 2010
the srcip should be defineable per interface (in the config file) using the
main-ip is just the originator-adress used in olsr messages-headers sent out
by your node
On Tue, Aug 31, 2010 at 6:15 PM, Jernej Kos <(spam-protected)>wrote:
> I have found a problem with enabling both MainIp and SrcIpRoutes in
> olsrd 0.6.0. It would appear that even with SrcIpRoutes enabled no src
> is specified when adding routes via netlink.
> The problem seems to be the configuration parser for amain_ip that only
> sets olsr_cnf->main_addr (via inet_pton) but does not set
> olsr_cnf->unicast_src_ip which is checked in olsr_os_process_rt_entry.
> So src stays at NULL and is not propagated further. When MainIp is not
> used the process works because both main_addr and unicast_src_ip are set
> to the same value (btw why is there a need for two variables when they
> should have the same value anyway?).
> Best regards.
> Jernej Kos <(spam-protected)>
> Olsr-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Olsr-dev