diff -Naur iputils-s20100214//ping_common.c iputils-s20100214.tpg//ping_common.c --- iputils-s20100214//ping_common.c 2010-02-13 18:39:23.000000000 +0000 +++ iputils-s20100214.tpg//ping_common.c 2010-04-18 00:41:28.000000000 +0000 @@ -861,7 +861,8 @@ printf("%spipe %d", comma, pipesize); comma = ", "; } - if (ntransmitted > 1 && (!interval || (options&(F_FLOOD|F_ADAPTIVE)))) { + if (ntransmitted > 1 && nreceived && + (!interval || (options&(F_FLOOD|F_ADAPTIVE)))) { int ipg = (1000000*(long long)tv.tv_sec+tv.tv_usec)/(ntransmitted-1); printf("%sipg/ewma %d.%03d/%d.%03d ms", comma, ipg/1000, ipg%1000, rtt/8000, (rtt/8)%1000);