Skip to content

Remove unnecessary conversion of byte order for set_mark - #19

Merged
mattfox merged 1 commit into
oremanj:masterfrom
no2a:master
Dec 15, 2016
Merged

mattfox merged 1 commit into
oremanj:masterfrom
no2a:master

Conversation

@no2a

@no2a no2a commented Oct 29, 2016

Copy link
Copy Markdown
Contributor

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

jllorente commented Dec 15, 2016 •

Copy link
Copy Markdown

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

mattfox commented Dec 15, 2016

Copy link
Copy Markdown
Collaborator

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