From 45191081f11b5c01c6f6428f97da79a4acb8cee5 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Thu, 4 Jun 2020 00:46:41 +0200 Subject: [PATCH] fix 9b32a523bf284a661310b22b3fe8716ab31294ca --- miniupnpd/netfilter_nft/nftnlrdr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/miniupnpd/netfilter_nft/nftnlrdr.c b/miniupnpd/netfilter_nft/nftnlrdr.c index 23e78d6..640ba7c 100644 --- a/miniupnpd/netfilter_nft/nftnlrdr.c +++ b/miniupnpd/netfilter_nft/nftnlrdr.c @@ -543,7 +543,9 @@ get_redirect_rule(const char * ifname, unsigned short eport, int proto, int get_redirect_rule_count(const char * ifname) { + rule_t *r; int n = 0; + UNUSED(ifname); refresh_nft_cache_redirect(); LIST_FOREACH(r, &head_redirect, entry) {