Skip to content

Remove unnecessary conversion of byte order for set_mark #19

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

Merged
merged 1 commit into from
Dec 15, 2016
Merged

Remove unnecessary conversion of byte order for set_mark #19

merged 1 commit into from
Dec 15, 2016

Conversation

no2a
Copy link
Contributor

@no2a no2a commented Oct 29, 2016

As nfq_set_verdict2 coverts byte order of "mark" (unlike
nfq_set_verdict_mark), we have not to do it on our own.
Otherwise, for example, Packet.set_mark(0x1234) results in
0x34120000 on little-endian machines.

As nfq_set_verdict2 coverts byte order of "mark" (unlike
nfq_set_verdict_mark), we have not to do it on our own.
Otherwise, for example, Packet.set_mark(0x1234) results in
0x34120000 on little-endian machines.
@jllorente
Copy link

jllorente commented Dec 15, 2016

Thank you no2a for the pull request. This is exactly what I referred to back in August in this comment
2960dc3

I had an open issue about it, didn't notice your pull request. I hope it can be merged soon! :)

@mattfox
Copy link
Collaborator

mattfox commented Dec 15, 2016

Hi @no2a @jllorente thanks for contributing, my apologies for the delay.

@mattfox mattfox merged commit 8880826 into oremanj:master Dec 15, 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.

3 participants