sgsnemu: Fix ping transmitted statistics output

Change-Id: I6e23e024ee30d6049c6b8b614c50d062d80a5260
This commit is contained in:
Pau Espin 2020-04-15 16:37:58 +02:00
parent 98f8126b98
commit cdcaeda81c
1 changed files with 1 additions and 1 deletions

View File

@ -1197,7 +1197,7 @@ static int ping_finish()
if (nreceived && tsum)
printf("round-trip (ms) min/avg/max = %.3f/%.3f/%.3f\n\n",
tmin / 1000.0, tsum / 1000.0 / nreceived, tmax / 1000.0);
printf("%d packets transmitted \n", ntreceived);
printf("%d packets transmitted \n", ntransmitted);
ntransmitted = 0;
return 0;