mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-31 08:25:22 +00:00
Fix ping message format
This commit is contained in:
parent
3dc831481e
commit
7322fbce71
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user