Skip to content
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

tcpretrans: ntohs dport #639

Merged
merged 1 commit into from
Jul 31, 2016
Merged

tcpretrans: ntohs dport #639

merged 1 commit into from
Jul 31, 2016

Conversation

markdrayton
Copy link
Contributor

dport is network order in the kernel and needs ntohs to be unravelled for human consumption. sport is host order and doesn't need changing (see http://lists.openwall.net/netdev/2013/10/10/44).

@4ast
Copy link
Member

4ast commented Jul 31, 2016

good catch!

@4ast 4ast merged commit 8ba998e into iovisor:master Jul 31, 2016
@markdrayton markdrayton deleted the ntohs branch August 12, 2016 08:23
chantra pushed a commit to chantra/bcc that referenced this pull request Sep 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants