mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +00:00
When processing multi-path ip6 routers, place each router entry on its
own line. We made this change in traceroute(8) some time ago. This is particularly useful when you are not resolving hostnames since ip6 addresses can be quite long, and lines wrap fairly easily in the multi-path router case. Discussed with: bz MFC after: 1 month
This commit is contained in:
parent
5ff3816d82
commit
59876f938e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172917
@ -873,6 +873,8 @@ main(argc, argv)
|
||||
if ((i = packet_ok(&rcvmhdr, cc, seq))) {
|
||||
if (!IN6_ARE_ADDR_EQUAL(&Rcv.sin6_addr,
|
||||
&lastaddr)) {
|
||||
if (probe > 0)
|
||||
fputs("\n ", stdout);
|
||||
print(&rcvmhdr, cc);
|
||||
lastaddr = Rcv.sin6_addr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user