mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 10:01:03 +00:00
kernel: fix xt_connmark.h
Commit a1cfe0dcbb24 (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: a1cfe0dcbb24 (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
@ -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…
x
Reference in New Issue
Block a user