mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-ggsn.git
synced 2025-11-03 13:43:25 +00:00
sgsnemu: Fix ping transmitted statistics output
Change-Id: I6e23e024ee30d6049c6b8b614c50d062d80a5260
This commit is contained in:
@@ -1197,7 +1197,7 @@ static int ping_finish()
|
|||||||
if (nreceived && tsum)
|
if (nreceived && tsum)
|
||||||
printf("round-trip (ms) min/avg/max = %.3f/%.3f/%.3f\n\n",
|
printf("round-trip (ms) min/avg/max = %.3f/%.3f/%.3f\n\n",
|
||||||
tmin / 1000.0, tsum / 1000.0 / nreceived, tmax / 1000.0);
|
tmin / 1000.0, tsum / 1000.0 / nreceived, tmax / 1000.0);
|
||||||
printf("%d packets transmitted \n", ntreceived);
|
printf("%d packets transmitted \n", ntransmitted);
|
||||||
|
|
||||||
ntransmitted = 0;
|
ntransmitted = 0;
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user