Don't flush ALL routes and enable OPTIONAL default route/gw

fixes #152 hopefully
This commit is contained in:
Bob Lantz
2013-06-17 17:09:54 -07:00
parent 3484389dcd
commit dd21df3ce4
2 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -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 )