From b924c5b5620c6ea4ec01b228a3f7b80fdd73d0ba Mon Sep 17 00:00:00 2001
From: Bob Lantz <rlantz@cs.stanford.edu>
Date: Fri, 5 Mar 2010 17:00:44 -0800
Subject: [PATCH] Fixed printing in CLI.net()

---
 mininet/cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mininet/cli.py b/mininet/cli.py
index 9e334b49..4fa767f0 100644
--- a/mininet/cli.py
+++ b/mininet/cli.py
@@ -89,7 +89,7 @@ def do_nodes( self, args ):
     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 )
-- 
GitLab