Hi all,

we have detected a bug in UM-OLSR 0.8.8.

In OLSR, the value NEIGHB_HOLD_TIME is the time that a Hello Message is
considered valid. The OLSR rfc fixes this value at 3*HI (Hello
Interval).

UM-OLSR allows to change the Hello Interval (HI) in the NS2 Tcl script.
But, when you change the HI, the value OLSR_NEIGHB_HOLD_TIME is not
updated. 

as you can see in UM-OLSR 0.8.8 code:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#define OLSR_REFRESH_INTERVAL   2


/********** Holding times **********/

/// Neighbor holding time.
#define OLSR_NEIGHB_HOLD_TIME   3*OLSR_REFRESH_INTERVAL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

OLSR_NEIGHB_HOLD_TIME is 3*OLSR_REFRESH_INTERVAL, which is always 2. 

To correct it you may assign OLSR_REFRESH_INTERVAL to hello_ival 


Regards,

Víctor González.

Reply via email to