[Olsr-dev] [PATCH v1 0/9] Also consider link state

Ferry Huberts (spam-protected)
Thu Feb 11 14:40:50 CET 2016



On 11/02/16 14:05, Henning Rogge wrote:
> On Thu, Feb 11, 2016 at 1:53 PM, Ferry Huberts <(spam-protected)> wrote:
>>> So it seems we need a config option to activate this... and we need to
>>> keep it "default off" otherwise we are in a world of mess with the
>>> embedded routers.
>>
>> How so?
>>
>> See my other email:
>>
>> I specifically designed it such that it falls back to what we have now when
>> the state could not be determined.
>>
>> What I added was just extra: if the state _can_ be determined, only then is
>> it actually used.
>>
>>
>> up  : state != DOWN &&  IFF_UP
>> down: state == DOWN || !IFF_UP  (same as !up)
>>
>> note what happens when state == UNKNOWN: fallback to what we have now
>
> I am not sure we even get an "undefined" state on these routers... as
> far as I understand Bastian we get a WRONG state.
>

Even that is not a problem if we only get DOWN when actually down 
(unplugged), see the expressions.



More information about the Olsr-dev mailing list