From 9b153c313bb32cf94897448cf478c5e2905965da Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Mon, 21 Apr 2008 08:32:50 -0700 Subject: [PATCH] avoid crash due to mis-spelled data rate unit --- examples/mixed-global-routing.cc | 2 +- examples/simple-point-to-point-olsr.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/mixed-global-routing.cc b/examples/mixed-global-routing.cc index adec75392..0722b7578 100644 --- a/examples/mixed-global-routing.cc +++ b/examples/mixed-global-routing.cc @@ -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); diff --git a/examples/simple-point-to-point-olsr.cc b/examples/simple-point-to-point-olsr.cc index fc0dc73a8..3a07d7dcd 100644 --- a/examples/simple-point-to-point-olsr.cc +++ b/examples/simple-point-to-point-olsr.cc @@ -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);