Fixed printing in CLI.net()

This commit is contained in:
Bob Lantz
2010-03-05 17:00:44 -08:00
parent 73360ab95c
commit b924c5b562
+1 -1
View File
@@ -89,7 +89,7 @@ class CLI( Cmd ):
def do_net( self, args ):
"List network connections."
for switch in self.mn.switches:
info( '%s <->', switch.name )
info( switch.name, '<->' )
for intf in switch.intfs.values():
name = switch.connection[ intf ][ 1 ]
info( ' %s' % name )