From 0ab58e397ca613a1996cb9767e221f71e752812e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Fri, 4 May 2018 22:33:35 +0200 Subject: xtables-compat: ebtables: handle mac masks properly Signed-off-by: Florian Westphal --- iptables/nft-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables/nft-shared.c') 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 }; -- cgit v1.2.3