pingall now reports fraction received

fixes #168
This commit is contained in:
Brian O'Connor
2013-07-30 18:28:38 -07:00
parent fec98e2798
commit f7439671bc
-2
View File
@@ -471,8 +471,6 @@ class Mininet( object ):
if packets > 0:
ploss = 100 * lost / packets
received = packets - lost
output( "*** Results: %i%% dropped (%d/%d lost)\n" %
( ploss, lost, packets ) )
output( "*** Results: %i%% dropped (%d/%d received)\n" %
( ploss, received, packets ) )
else: