-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traceroute6: remove -l flag #1023
Conversation
someone suggested this behaviour might be because IPv6 addresses are longer, however in practice, there's basically no difference:
the only long line of output from traceroute6 is because it prints the source address by default. |
freebsd-src/usr.bin/systat/netstat.c Lines 561 to 603 in ed1a88a
EDIT: I have tested
|
Sorry for the noise, originally I had misinterpreted the pull request. |
i assume the eventual plan is to merge traceroute6 into traceroute, as was done with ping, but that's obviously a much larger project :-) in the mean time, removing behaviour differences seems useful to reduce the amount of future work needed for that. |
This looks sane to me as well. |
There is also a mention to |
The document hasn't meaningfully changed since 2002. I think updating it for this might be misguided effort. Maybe we should just retire it, though the network folks can say better than I. I kinda think that it is orthogonal to this issue. I don't know ipv6 well enough to know what else in the doc is dated. |
that document spends a lot of time talking about a |
The -l flag was used to tell traceroute6(8) to show both hostname and address for each hop. However, traceroute(8) already does this by default, and there's no reason for traceroute6 to behave differently. Make this the default behaviour, and accept -l for backward compatibility as a no-op flag.
i pushed a rebase (no conflicts) and the .Dd update (this would be a handy thing to check in a git-commit hook, if we have any of those?). |
Pushed in as 0a49be7 |
The -l flag was used to tell traceroute6(8) to show both hostname and address for each hop. However, traceroute(8) already does this by default, and there's no reason for traceroute6 to behave differently. Make this the default behaviour, and accept -l for backward compatibility as a no-op flag. Reviewed by: imp Pull Request: #1023
The -l flag was used to tell traceroute6(8) to show both hostname and address for each hop. However, traceroute(8) already does this by default, and there's no reason for traceroute6 to behave differently. Make this the default behaviour, and accept -l for backward compatibility as a no-op flag. Reviewed by: imp Pull Request: freebsd/freebsd-src#1023
The -l flag was used to tell traceroute6(8) to show both hostname and address for each hop. However, traceroute(8) already does this by default, and there's no reason for traceroute6 to behave differently.
Make this the default behaviour, and accept -l for backward compatibility as a no-op flag.