[Olsr-dev] Bug fixed in olsrd.0.5.3

David Orchansky (spam-protected)
Fri Oct 19 02:10:40 CEST 2007


Hello everyone,

 

I've been having some troubles when using the release of olsrd 0.5.3. I
cross-compiled (using the OpenWrt SDK) and flashed it in several routers. 

 

The problem I had was that the TC messages where not being forwarded by the
routers because for some reason the routers didn't select their own MPR's
(even when they had several 2-hop neighbors). 

 

After spending many days tracing the problem I fixed this issue by
initializing some variables in a function. that was it!

 

File:       mpr.c

Function:   void olsr_calculate_mpr(void)     

 

  olsr_u16_t two_hop_covered_count=0;

  olsr_u16_t two_hop_count=0;

 

Anyway, I don't know if this is gonna be helpful to anyone, but it would
save some time and effort to many of us.

 

Cheers!

David.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20071019/793513d9/attachment.html>


More information about the Olsr-dev mailing list