Merge pull request #140 from fasaxc/patch-1

Fix method name mismatch for setDefaultRoute. 
This seems to be logically correct according to the intention of the code, but it may cause some trouble because routes will now be flushed by Mininet.configHosts().
This commit is contained in:
Bob committed 2013-05-23 15:38:41 -07:00
commit f53866d0c0
1 file changed
+1 -1
+1 -1
View File
@@ -493,7 +493,7 @@ class Node( object ):
r = {}
self.setParam( r, 'setMAC', mac=mac )
self.setParam( r, 'setIP', ip=ip )
self.setParam( r, 'defaultRoute', defaultRoute=defaultRoute )
self.setParam( r, 'setDefaultRoute', defaultRoute=defaultRoute )
# This should be examined
self.cmd( 'ifconfig lo ' + lo )
return r