Skip to content
Snippets Groups Projects
Commit 28cd95c3 authored by Brandon Heller's avatar Brandon Heller
Browse files

Fix link command parsing bug

parent af380c89
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,7 @@ def do_dump( self, args ):
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' ]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment