Adapt to evil API breakage

This commit is contained in:
Gustavo J. A. M. Carneiro
2008-07-08 14:40:01 +01:00
parent fe73953148
commit eb3d502a49

View File

@@ -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