[Olsr-dev] parameter setting in arproaming

Amadeus (spam-protected)
Sun Mar 13 11:10:15 CET 2011


Hi,

it just occurred to me that parameters passed to plugin 'arproaming'
are not set until the timer function has been called (from my
understanding).

http://olsr.org/git/?p=olsrd.git;a=blob;f=lib/arproaming/src/olsrd_arproaming.c;hb=refs/heads/master

arproaming_init() --> arproaming_systemconf() 
'arproaming_parameter_interface' has not been set yet --> 
arproaming_schedule_event() 'arproaming_parameter_interface' is now 
present in arproaming_client_add()

Since arproaming_systemconf() is called before and should not be a
part of functions called by timer events I'm wondering how I can fix
this or if that is intended behaviour whatsoever.

Thanks,
amadeus





More information about the Olsr-dev mailing list