Revision 7a506047 mininet/net.py

View differences:

mininet/net.py
421 421
            return (1, 0)
422 422
        r = r'(\d+) packets transmitted, (\d+) received'
423 423
        m = re.search( r, pingOutput )
424
        if m == None:
424
        if m is None:
425 425
            error( '*** Error: could not parse ping output: %s\n' %
426 426
                     pingOutput )
427 427
            return (1, 0)

Also available in: Unified diff