avoid crash due to mis-spelled data rate unit

This commit is contained in:
Mathieu Lacage committed 2008-04-21 08:32:50 -07:00
1 parent ea6e067812
commit 9b153c313b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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);