Date: Sat, 7 Apr 2018 19:23:52 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332207 - stable/11/usr.sbin/traceroute6 Message-ID: <201804071923.w37JNqpM057336@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Sat Apr 7 19:23:51 2018 New Revision: 332207 URL: https://svnweb.freebsd.org/changeset/base/332207 Log: MFC r324122: Fix reporting of probing size. This bug was introduced in r324119. Modified: stable/11/usr.sbin/traceroute6/traceroute6.c Directory Properties: stable/11/ (props changed) Modified: stable/11/usr.sbin/traceroute6/traceroute6.c ============================================================================== --- stable/11/usr.sbin/traceroute6/traceroute6.c Sat Apr 7 19:22:32 2018 (r332206) +++ stable/11/usr.sbin/traceroute6/traceroute6.c Sat Apr 7 19:23:51 2018 (r332207) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804071923.w37JNqpM057336>