Adapt to evil API breakage
This commit is contained in:
@@ -77,8 +77,8 @@ main (int argc, char *argv[])
|
||||
|
||||
NS_LOG_INFO ("Build Topology");
|
||||
CsmaHelper csma;
|
||||
csma.SetChannelParameter ("DataRate", DataRateValue (5000000));
|
||||
csma.SetChannelParameter ("Delay", TimeValue (MilliSeconds (2)));
|
||||
csma.SetChannelAttribute ("DataRate", DataRateValue (5000000));
|
||||
csma.SetChannelAttribute ("Delay", TimeValue (MilliSeconds (2)));
|
||||
|
||||
// Create the csma links, from each terminal to the switch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user