summaryrefslogtreecommitdiffstats
path: root/iptables/nft-shared.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-05-04 22:33:35 +0200
committerFlorian Westphal <fw@strlen.de>2018-05-04 23:21:18 +0200
commit0ab58e397ca613a1996cb9767e221f71e752812e (patch)
treea20821c675167cfa61bc20800fbad2f18e725dce /iptables/nft-shared.c
parent734ad4020e6ff0c47c27b3b9096cbc996b5e1ee7 (diff)
xtables-compat: ebtables: handle mac masks properly
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'iptables/nft-shared.c')
-rw-r--r--iptables/nft-shared.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c
index 68e5c55d..e2fc226c 100644
--- a/iptables/nft-shared.c
+++ b/iptables/nft-shared.c
@@ -83,7 +83,7 @@ void add_bitwise_u16(struct nftnl_rule *r, int mask, int xor)
nftnl_rule_add_expr(r, expr);
}
-static void add_bitwise(struct nftnl_rule *r, uint8_t *mask, size_t len)
+void add_bitwise(struct nftnl_rule *r, uint8_t *mask, size_t len)
{
struct nftnl_expr *expr;
uint32_t xor[4] = { 0 };