Revision 41a54f05 mininet/link.py

View differences:

mininet/link.py
122 122
        "Return whether interface is up"
123 123
        if setUp:
124 124
            cmdOutput = self.ifconfig( 'up' )
125
            # no output indicates success
125 126
            if cmdOutput:
126 127
                error( "Error setting %s up: %s " % ( self.name, cmdOutput ) )
127 128
                return False

Also available in: Unified diff