summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorJoshua Lant <joshualant@googlemail.com>2024-08-23 10:22:06 +0100
committerFlorian Westphal <fw@strlen.de>2024-08-23 16:19:52 +0200
commite1496f52699b11569a09603765caeca8a4aed93f (patch)
tree72d06a61575543ce0291725ee1e8e314bef34d30 /extensions
parent4e2baaee88de7e92b10e646b2756936b9784fdcb (diff)
iptables: align xt_CONNMARK with current kernel headers
libxt_CONNMARK.c declares enum which is declared in the kernel header. Modify the version of the header in the repo's include dir to match the current kernel, and remove the enum declaration from xt_CONNMARK.c. Signed-off-by: Joshua Lant joshualant@gmail.com Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_CONNMARK.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/extensions/libxt_CONNMARK.c b/extensions/libxt_CONNMARK.c
index a6568c99..90a5abc0 100644
--- a/extensions/libxt_CONNMARK.c
+++ b/extensions/libxt_CONNMARK.c
@@ -32,11 +32,6 @@ struct xt_connmark_target_info {
};
enum {
- D_SHIFT_LEFT = 0,
- D_SHIFT_RIGHT,
-};
-
-enum {
O_SET_MARK = 0,
O_SAVE_MARK,
O_RESTORE_MARK,