# HG changeset patch # User Josh Pelkey # Date 1264971566 18000 # Node ID 462ca2c19a92150fa074ed8cf26367577798f701 # Parent 894221b519574cb862f4aed700874c1c38489d0b Bug 788: OLSR_NEIGH_HOLD_TIME should be 3 times OLSR_REFRESH_INTERVAL diff -r 894221b51957 -r 462ca2c19a92 src/routing/olsr/olsr-routing-protocol.cc --- a/src/routing/olsr/olsr-routing-protocol.cc Sun Jan 31 15:17:09 2010 -0500 +++ b/src/routing/olsr/olsr-routing-protocol.cc Sun Jan 31 15:59:26 2010 -0500 @@ -72,7 +72,7 @@ /********** Holding times **********/ /// Neighbor holding time. -#define OLSR_NEIGHB_HOLD_TIME (Scalar (3) * m_helloInterval) +#define OLSR_NEIGHB_HOLD_TIME (Scalar (3) * OLSR_REFRESH_INTERVAL) /// Top holding time. #define OLSR_TOP_HOLD_TIME (Scalar (3) * m_tcInterval) /// Dup holding time.