Fix ping message format

This commit is contained in:
Jeremy Lakeman 2012-11-19 16:36:15 +10:30
parent 3dc831481e
commit 7322fbce71

View File

@ -865,7 +865,7 @@ int app_mdp_ping(int argc, const char *const *argv, struct command_line_option *
long long *txtime=(long long *)&mdp.in.payload[4];
int hop_count = 64 - mdp.in.ttl;
time_ms_t delay = gettime_ms() - *txtime;
printf("%s: seq=%d time=%lld hops=%d ms%s%s\n",
printf("%s: seq=%d time=%lldms hops=%d %s%s\n",
alloca_tohex_sid(mdp.in.src.sid),
(*rxseq)-firstSeq+1,
delay,