remove manual routing commands from example script
authorTom Henderson
Tue, 31 Jul 2007 09:45:13 -0700
changeset 1117 35bcd56d7d10
parent 1116 e806ecadcc9c
child 1118 e30a3af9e9a5
remove manual routing commands from example script
examples/simple-global-routing.cc
--- a/examples/simple-global-routing.cc	Mon Jul 30 15:50:20 2007 -0700
+++ b/examples/simple-global-routing.cc	Tue Jul 31 09:45:13 2007 -0700
@@ -164,14 +164,6 @@
   ooff->Start (Seconds (1.1));
   ooff->Stop (Seconds (10.0));
 
-  // Here, finish off packet routing configuration
-  // This will likely set by some GlobalRouting object in the future
-  Ptr<Ipv4> ipv4;
-  ipv4 = n0->QueryInterface<Ipv4> (Ipv4::iid);
-  ipv4->SetDefaultRoute (Ipv4Address ("10.1.1.2"), 1);
-  ipv4 = n3->QueryInterface<Ipv4> (Ipv4::iid);
-  ipv4->SetDefaultRoute (Ipv4Address ("10.1.3.1"), 1);
-  
   // Configure tracing of all enqueue, dequeue, and NetDevice receive events
   // Trace output will be sent to the simple-global-routing.tr file
   AsciiTrace asciitrace ("simple-global-routing.tr");