Skip to content
Snippets Groups Projects
Commit 54e39ddc authored by Martin Schiller's avatar Martin Schiller Committed by Hauke Mehrtens
Browse files

kernel: fix xt_connmark.h


Commit a1cfe0dc (kernel: connmark set-dscpmark follow upstreamimg
attempt") broke the usage of xt_connmark.h in user-space (e.g.
strongswan), because the BIT() macro is unknown there.

Fixes: a1cfe0dc (kernel: connmark set-dscpmark follow upstreamimg attempt")
Signed-off-by: default avatarMartin Schiller <ms@dev.tdt.de>
parent 53470bdf
No related branches found
No related tags found
No related merge requests found
...@@ -87,8 +87,8 @@ Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> ...@@ -87,8 +87,8 @@ Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
}; };
enum { enum {
+ XT_CONNMARK_VALUE = BIT(0), + XT_CONNMARK_VALUE = (1 << 0),
+ XT_CONNMARK_DSCP = BIT(1) + XT_CONNMARK_DSCP = (1 << 1)
+}; +};
+ +
+enum { +enum {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment