diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-07-09 15:39:44 +0200 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-07-09 20:28:19 +0200 |
commit | ef85f48a7ef73e8f00b94abe71df8521b821e6f7 (patch) | |
tree | b9c6957e00482ed1a14aba5854069300e5df8df3 /print-icmp6.c | |
parent | 154b32ede55d03fb0e3c19ad45349bdb793b9e9f (diff) | |
download | tcpdump-ef85f48a7ef73e8f00b94abe71df8521b821e6f7.tar.gz |
ICMPv6: Fix printing 'Reachable Time' and 'Retrans Timer' as milliseconds
Update 'retrans time' to 'retrans timer'.
See: https://tools.ietf.org/html/rfc4861#section-4.2.
Update the output of some tests accordingly.
Diffstat (limited to 'print-icmp6.c')
-rw-r--r-- | print-icmp6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-icmp6.c b/print-icmp6.c index 5fe0cc97..ce569995 100644 --- a/print-icmp6.c +++ b/print-icmp6.c @@ -1199,7 +1199,7 @@ icmp6_print(netdissect_options *ndo, p = (const struct nd_router_advert *)dp; ND_TCHECK_4(p->nd_ra_retransmit); ND_PRINT("\n\thop limit %u, Flags [%s]" - ", pref %s, router lifetime %us, reachable time %us, retrans time %us", + ", pref %s, router lifetime %us, reachable time %ums, retrans timer %ums", EXTRACT_U_1(p->nd_ra_curhoplimit), bittok2str(icmp6_opt_ra_flag_values,"none",EXTRACT_U_1(p->nd_ra_flags_reserved)), get_rtpref(EXTRACT_U_1(p->nd_ra_flags_reserved)), |