From 28cd95c3746f879b030ae756ef23b57a7437a80f Mon Sep 17 00:00:00 2001 From: Brandon Heller Date: Sat, 13 Mar 2010 21:32:11 -0800 Subject: [PATCH] Fix link command parsing bug --- mininet/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mininet/cli.py b/mininet/cli.py index 688f4fb..c045a6d 100644 --- a/mininet/cli.py +++ b/mininet/cli.py @@ -149,6 +149,7 @@ class CLI( Cmd ): def do_link( self, args ): "Bring a link up or down." + args = args.split() if len(args) != 3: error( 'invalid number of args: link [up down] end1 end2\n' ) elif args[ 0 ] not in [ 'up', 'down' ]: