avoid crash due to mis-spelled data rate unit
This commit is contained in:
@@ -79,7 +79,7 @@ main (int argc, char *argv[])
|
||||
|
||||
NetDeviceContainer d1d2 = p2p.Install (n1n2);
|
||||
|
||||
p2p.SetChannelParameter ("BitRate", StringValue ("1500Kbps"));
|
||||
p2p.SetChannelParameter ("BitRate", StringValue ("1500kbps"));
|
||||
p2p.SetChannelParameter ("Delay", StringValue ("10ms"));
|
||||
NetDeviceContainer d5d6 = p2p.Install (n5n6);
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ main (int argc, char *argv[])
|
||||
p2p.SetChannelParameter ("Delay", StringValue ("2ms"));
|
||||
NetDeviceContainer nd02 = p2p.Install (n02);
|
||||
NetDeviceContainer nd12 = p2p.Install (n12);
|
||||
p2p.SetChannelParameter ("BitRate", StringValue ("1500Kbps"));
|
||||
p2p.SetChannelParameter ("BitRate", StringValue ("1500kbps"));
|
||||
p2p.SetChannelParameter ("Delay", StringValue ("10ms"));
|
||||
NetDeviceContainer nd32 = p2p.Install (n32);
|
||||
NetDeviceContainer nd34 = p2p.Install (n34);
|
||||
|
||||
Reference in New Issue
Block a user