Don't flush ALL routes and enable OPTIONAL default route/gw
fixes #152 hopefully
This commit is contained in:
+1
-1
@@ -260,7 +260,7 @@ class Mininet( object ):
|
||||
info( host.name + ' ' )
|
||||
intf = host.defaultIntf()
|
||||
if intf:
|
||||
host.configDefault( defaultRoute=intf )
|
||||
host.configDefault()
|
||||
else:
|
||||
# Don't configure nonexistent intf
|
||||
host.configDefault( ip=None, mac=None )
|
||||
|
||||
Reference in New Issue
Block a user