kernel: fix xt_connmark.h
Commita1cfe0dcbb
(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:a1cfe0dcbb
(kernel: connmark set-dscpmark follow upstreamimg attempt") Signed-off-by: Martin Schiller <ms@dev.tdt.de>
This commit is contained in:
parent
53470bdf32
commit
54e39ddc2e
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue