Skip to content
Snippets Groups Projects
Commit f53866d0 authored by Bob's avatar Bob
Browse files

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().
parents 294bbad4 e5754ae9
No related branches found
No related tags found
No related merge requests found
......@@ -493,7 +493,7 @@ def config( self, mac=None, ip=None,
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment