[Olsr-dev] Bug in nameservice plugin - When OLSR started with interfaces down main addr is not later updated on ifup

Henning Rogge (spam-protected)
Sat May 1 23:32:29 CEST 2010


Am Donnerstag 29 April 2010 16:31:45 schrieb ZioPRoTo (Saverio Proto):
> OLSR-0.5.6-r8
> If you launch OLSR with the interface(s) down the nameservice plugin
> is loaded but main addr is unknown.
> 
> when later the interface goes up, the routing daemon detects the
> interface and sets the new main addr to talk to OLSR protocol, but the
> plugin status is not updated. You will have nameservice packets
> without the HOST field in the packet.
> 
> I can try to provide a patch, but how to trigger a event into the
> plugin when the interface goes up ?? There is some way to register a
> function to that event ?
Can you try this patch ?

Henning

-- 
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nameservice.patch
Type: text/x-patch
Size: 3954 bytes
Desc: not available
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100501/3a5c6afd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100501/3a5c6afd/attachment.sig>


More information about the Olsr-dev mailing list