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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user