examples/mixed-global-routing.cc
changeset 2502 50d0da37f02f
parent 2494 1c69ea12779c
child 2533 80cdc3eec057
--- a/examples/mixed-global-routing.cc	Wed Feb 27 20:48:43 2008 +0100
+++ b/examples/mixed-global-routing.cc	Wed Feb 27 21:41:34 2008 +0100
@@ -113,7 +113,7 @@
   DefaultValue::Bind ("Queue", "DropTailQueue");
 
   Config::SetDefault ("OnOffApplication::PacketSize", Uinteger (210));
-  Config::SetDefault ("OnOffApplication::DataRate", MakeDataRate ("448kb/s"));
+  Config::SetDefault ("OnOffApplication::DataRate", DataRate ("448kb/s"));
 
   // Allow the user to override any of the defaults and the above
   // Bind ()s at run-time, via command-line arguments
@@ -198,7 +198,7 @@
                                         "Protocol", TypeId::LookupByName ("Udp"),
                                         "OnTime", ConstantVariable (1), 
                                         "OffTime", ConstantVariable (0),
-                                        "DataRate", MakeDataRate("300bps"),
+                                        "DataRate", DataRate("300bps"),
                                         "PacketSize", Uinteger (50));
   n0->AddApplication (ooff);
   // Start the application