Bug 1915 - BRITE channel delay is rounded to an integer

This commit is contained in:
Chris Hood
2014-05-19 21:34:20 +02:00
parent 1164685c68
commit 23a3e5f751
2 changed files with 3 additions and 1 deletions

View File

@@ -88,6 +88,8 @@ Bugs fixed
- 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
=============

View File

@@ -456,7 +456,7 @@ BriteTopologyHelper::ConstructTopology ()
// 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",