Bug 1915 - BRITE channel delay is rounded to an integer
authorChris Hood <chood8@gatech.edu>
Mon, 19 May 2014 21:34:20 +0200
changeset 10785 e4c5fc7f7f5b
parent 10784 13017af6d1b0
child 10786 52c7ca5d181f
Bug 1915 - BRITE channel delay is rounded to an integer
RELEASE_NOTES
src/brite/helper/brite-topology-helper.cc
--- a/RELEASE_NOTES	Thu May 15 16:09:51 2014 -0700
+++ b/RELEASE_NOTES	Mon May 19 21:34:20 2014 +0200
@@ -88,6 +88,8 @@
 - Bug 1894 - CqaFfMacScheduler needs an update
 - Bug 1895 - IP header Source Address changed while forwarding RREQ
 - Bug 1903 - Namespace usage in olsr-state.cc/h
+- Bug 1903 - Namespace usage in olsr-state.cc/h
+- Bug 1915 - BRITE channel delay is rounded to an integer
 
 Release 3.19
 =============
--- a/src/brite/helper/brite-topology-helper.cc	Thu May 15 16:09:51 2014 -0700
+++ b/src/brite/helper/brite-topology-helper.cc	Mon May 19 21:34:20 2014 +0200
@@ -456,7 +456,7 @@
       // Set the link delay
       // The brite value for delay is given in milliseconds
       m_britePointToPointHelper.SetChannelAttribute ("Delay",
-                                                     TimeValue (MilliSeconds ((*it).delay)));
+                                                     TimeValue (Seconds ((*it).delay/1000.0)));
 
       // The brite value for data rate is given in Mbps
       m_britePointToPointHelper.SetDeviceAttribute ("DataRate",