-
Notifications
You must be signed in to change notification settings - Fork 254
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
Print returned TTL value #345
Conversation
e4a573a
to
c45534f
Compare
Thanks for this pull request! I have started looking at the changes and will provide a first review soon. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks patterned after the --print-tos
option, I like that. I also like that you added tests and documentation.
The code itself looks OK, but please address my comments regarding tests and man page.
c45534f
to
d947932
Compare
d947932
to
a88a0d9
Compare
a88a0d9
to
343523f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope that the tests now work as intended.
Please adjust the man page description (I mentioned hop count only for background, not as something that be added to the man page).
Co-authored-by: Luís Fonseca <[email protected]>
343523f
to
ddf417e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say this looks mostly OK.
The commit message could be a bit more explicit that this introduces a new option, but then your example commit has a similarly brief commit message.
I'll wait a bit before merging. This allows me to think more about the pull request, and gives others an opportunity to look at it, too.
Print the returned TTL value from the IP header.