Skip to content

Commit 8880826

Browse files
authored
Merge pull request oremanj#19 from no2a/master
Remove unnecessary conversion of byte order for set_mark
2 parents adb2545 + b0ccf8d commit 8880826

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

netfilterqueue.c

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

netfilterqueue.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ cdef class Packet:
8484
self._qh,
8585
self.id,
8686
verdict,
87-
htonl(self._given_mark),
87+
self._given_mark,
8888
modified_payload_len,
8989
modified_payload)
9090
else:

0 commit comments

Comments
 (0)