Bug 1915

Summary: BRITE channel delay is rounded to an integer
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: briteAssignee: Brian Swenson <bswenson3>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tommaso Pecorella 2014-05-17 16:43:25 UTC
Reported by Chris Hood chood8@gatech.edu

m_britePointToPointHelper.SetChannelAttribute ("Delay",
TimeValue (MilliSeconds ((*it).delay)));

should be:

m_britePointToPointHelper.SetChannelAttribute ("Delay",
TimeValue (Seconds ((*it).delay/1000.0)));

since the delay is a double and can contain fractional values.
Comment 1 Tommaso Pecorella 2014-05-19 15:36:51 UTC
changeset:   10785:e4c5fc7f7f5b