Fix comments on dynamic-global-routing.cc example
authorTom Henderson <tomh@tomh.org>
Fri, 26 Jun 2009 19:21:53 -0700
changeset 4619 aacea61f422f
parent 4618 9d977b974ddc
child 4620 5d448b8564e5
Fix comments on dynamic-global-routing.cc example
examples/dynamic-global-routing.cc
--- a/examples/dynamic-global-routing.cc	Fri Jun 26 15:56:14 2009 +0200
+++ b/examples/dynamic-global-routing.cc	Fri Jun 26 19:21:53 2009 -0700
@@ -63,9 +63,11 @@
 //    will start to be dropped 
 //  At time 13s, call RecomputeRoutingTables() and traffic will
 //    start flowing again on the alternate path
-//  At time 14s, re-enable the n1/n6 interface to up.  Will not change routing
-//  At time 15s, call RecomputeRoutingTables() and traffic will start flowing 
-//    again on the original path
+//  At time 14s, re-enable the n1/n6 interface to up.  This will change 
+//    routing back to n1-n6 since the interface up notification will cause
+//    a new local interface route, at higher priority than global routing
+//  At time 15s, call RecomputeRoutingTables(), but there is no effect
+//    since global routing is lower in priority than static routing
 //  At time 16s, stop the second flow.  
 
 // - Tracing of queues and packet receptions to file "dynamic-global-routing.tr"