Revision 1052f8a0 mininet/link.py

View differences:

mininet/link.py
297 297
                  ( [ '%s delay' % delay ] if delay is not None else [] ) +
298 298
                  ( [ '%s jitter' % jitter ] if jitter is not None else [] ) +
299 299
                  ( ['%d%% loss' % loss ] if loss is not None else [] ) +
300
                  ( [ 'ECN' ] if enable_ecn  else [ 'RED' ]
300
                  ( [ 'ECN' ] if enable_ecn else [ 'RED' ]
301 301
                    if enable_red else [] ) )
302 302
        info( '(' + ' '.join( stuff ) + ') ' )
303 303

  

Also available in: Unified diff