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

Sven-Ola Tuecke (spam-protected)
Thu Apr 29 19:43:13 CEST 2010


the nameservice at least register &olsr_namesvc_gen() which is called every 
my_interval. You may query the main_ip there and add a necessary initializer 

// Sven-Ola

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 ?
> Saverio

More information about the Olsr-dev mailing list