src/routing/olsr/olsr-routing-protocol.cc
changeset 7044 f94b264549d1
parent 7040 444bb5c76bff
--- a/src/routing/olsr/olsr-routing-protocol.cc	Wed Aug 25 17:42:52 2010 +0200
+++ b/src/routing/olsr/olsr-routing-protocol.cc	Wed Aug 25 21:31:43 2010 +0200
@@ -73,15 +73,15 @@
 /********** Holding times **********/
 
 /// Neighbor holding time.
-#define OLSR_NEIGHB_HOLD_TIME	(3 * OLSR_REFRESH_INTERVAL.To ())
+#define OLSR_NEIGHB_HOLD_TIME	Time (3 * OLSR_REFRESH_INTERVAL)
 /// Top holding time.
-#define OLSR_TOP_HOLD_TIME	(3 * m_tcInterval.To ())
+#define OLSR_TOP_HOLD_TIME	Time (3 * m_tcInterval)
 /// Dup holding time.
 #define OLSR_DUP_HOLD_TIME	Seconds (30)
 /// MID holding time.
-#define OLSR_MID_HOLD_TIME	(3 * m_midInterval.To ())
+#define OLSR_MID_HOLD_TIME	Time (3 * m_midInterval)
 /// HNA holding time.
-#define OLSR_HNA_HOLD_TIME  (3 * m_hnaInterval.To ())
+#define OLSR_HNA_HOLD_TIME      Time (3 * m_hnaInterval)
 
 /********** Link types **********/