Fix reporting of probing size. This bug was introduced in r324119.
MFC after: 4 weeks
This commit is contained in:
parent
76aaad634b
commit
c8f149c5d0
@ -904,7 +904,8 @@ main(int argc, char *argv[])
|
||||
if (source)
|
||||
fprintf(stderr, " from %s", source);
|
||||
fprintf(stderr, ", %lu hops max, %lu byte packets\n",
|
||||
max_hops, datalen);
|
||||
max_hops,
|
||||
datalen + ((useproto == IPPROTO_UDP) ? sizeof(struct udphdr) : 0));
|
||||
(void) fflush(stderr);
|
||||
|
||||
if (first_hop > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user