# HG changeset patch # User Chris Hood # Date 1400528060 -7200 # Node ID e4c5fc7f7f5bf55ceb9675f7c71280b80101dd9c # Parent 13017af6d1b055ac8546d1d76410caa3d45366aa Bug 1915 - BRITE channel delay is rounded to an integer diff -r 13017af6d1b0 -r e4c5fc7f7f5b RELEASE_NOTES --- 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 ============= diff -r 13017af6d1b0 -r e4c5fc7f7f5b src/brite/helper/brite-topology-helper.cc --- 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",