Update net.py

This commit is contained in:
lantz
2014-04-01 11:46:52 -07:00
parent ebac6784d4
commit 92a28881b1
+1 -1
View File
@@ -507,7 +507,7 @@ class Mininet( object ):
output( ( '%s ' % dest.name ) if received else 'X ' )
output( '\n' )
if packets > 0:
ploss = float(100) * lost / packets
ploss = 100.0 * lost / packets
received = packets - lost
output( "*** Results: %i%% dropped (%d/%d received)\n" %
( ploss, received, packets ) )