Revision c8b85746

View differences:

examples/hwintf.py
38 38
    switch = net.switches[ 0 ]
39 39
    info( '*** Adding hardware interface', intfName, 'to switch',
40 40
          switch.name, '\n' )
41
    intf = Intf( intfName, node=switch )
41
    _intf = Intf( intfName, node=switch )
42 42

  
43 43
    info( '*** Note: you may need to reconfigure the interfaces for '
44 44
          'the Mininet hosts:\n', net.hosts, '\n' )
mininet/node.py
996 996
    def checkListening( self ):
997 997
        "Make sure no controllers are running on our port"
998 998
        # Verify that Telnet is installed first:
999
        out, err, returnCode = errRun( "which telnet" )
999
        out, _err, returnCode = errRun( "which telnet" )
1000 1000
        if 'telnet' not in out or returnCode != 0:
1001 1001
            raise Exception( "Error running telnet to check for listening "
1002 1002
                             "controllers; please check that it is "

Also available in: Unified diff