Revision 28cd95c3 mininet/cli.py

View differences:

mininet/cli.py
149 149

  
150 150
    def do_link( self, args ):
151 151
        "Bring a link up or down."
152
        args = args.split()
152 153
        if len(args) != 3:
153 154
            error( 'invalid number of args: link [up down] end1 end2\n' )
154 155
        elif args[ 0 ] not in [ 'up', 'down' ]:

Also available in: Unified diff