From c4e668d89136ed5032fc04da0b5a33c09e3164bb Mon Sep 17 00:00:00 2001 From: Packit Service Date: Jan 28 2021 16:14:57 +0000 Subject: Apply patch 0031-nft-Fix-for-broken-address-mask-match-detection.patch patch_name: 0031-nft-Fix-for-broken-address-mask-match-detection.patch present_in_specfile: true location_in_specfile: 31 --- diff --git a/iptables/nft-shared.c b/iptables/nft-shared.c index 78e4227..f60f5df 100644 --- a/iptables/nft-shared.c +++ b/iptables/nft-shared.c @@ -165,7 +165,7 @@ void add_outiface(struct nftnl_rule *r, char *iface, uint32_t op) void add_addr(struct nftnl_rule *r, int offset, void *data, void *mask, size_t len, uint32_t op) { - const char *m = mask; + const unsigned char *m = mask; int i; add_payload(r, offset, len, NFT_PAYLOAD_NETWORK_HEADER);