[Olsr-dev] Setting LinkQualityMult in an interface section behaves globally
Clemens Hopfer
(spam-protected)
Sat Apr 12 10:56:50 CEST 2008
Am Samstag 12 April 2008 03:30:21 schrieb Mitar:
Hi,
i have reported this a few weeks ago but with no response.
It seems, that the last section with LinkQualityMult's is working on all
interfaces, other LinkQualityMult's in interfaces above this are not
recognized.
In earlier versions this has worked without any problems.
> Hi!
>
> I think I found a bug. On both 0.5.3 and 0.5.5 if I have configuration
> like:
>
> Interface "ath0:0"
> {
> ...
> }
> Interface "tap0"
> {
> ...
> LinkQualityMult default 0.07
> }
>
> And I would like that routes through VPN would be weighted as worse as
> they really are. But the problem is that such configuration sets
> LinkQualityMult to 0.07 also on ath0:0 interface. Even if I explicitly
> specify LinkQualityMult default 1.0 there.
>
> It is interesting that if I exchange sections then it is again the
> last one which counts (that is 1.0). And because I have configured
> OLSR to work even if there is no interface, if I run it without VPN
> tunnel (thus tap0 section is not active) LinkQualityMult seems to be
> 1.0. If I create VPN tunnel, LinkQualityMult seems to change to 0.07.
>
> I understand that this is a bug which somehow somewhere overwrites
> also other values. Could this be patched? I have checked the source
> code but I got lost in it.
>
> Best regards
>
>
> Mitar
More information about the Olsr-dev
mailing list