[Olsr-dev] gateway code

Ferry Huberts (spam-protected)
Tue Jul 24 13:24:46 CEST 2012



On 24-07-12 13:22, Henning Rogge wrote:
> On 07/24/2012 01:15 PM, Teco Boot wrote:
>>> Has been some time since I even looked into this code... the code
>>> you removed were responsible for detecting a tunnel going down and
>>> up again (because I thought it is necessary to set the route into
>>> the tunnel again).
>>>
>>> Its not really common, but could be potential annoying.
>>>
>>> Can you test if what happens to the smart-gw if you take a tunnel
>>> down and up again from the shell?
>>
>> Manual interference with unmanaged tunnels is a request for trouble.
>> If there is a side effect on tunnel_down (e.g. removed routes), that
>> is how it is designed. Let's have a clean smart-gw.
>
> At the moment there would be no way to restore the route for the tunnel.
> That is why the mechanism was inside.
>
> Similar for mesh interfaces, if they go up again, OLSRd must restore the
> routes.
>
> Henning
>
>
>

So I think I'm going to revert my changes to that code.
Agree?

-- 
Ferry Huberts




More information about the Olsr-dev mailing list