summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-10-24 12:00:11 +0200
committerFlorian Westphal <fw@strlen.de>2018-10-24 15:13:33 +0200
commitb2fc2a368562d55fadad94d995247bb8cd7e68a3 (patch)
treea7b63a45d3e1466305852627d3724648b7589bd9 /extensions
parent682f39afe64305a820d3d8e186d0a6da893f0f35 (diff)
extensions: limit: unbreak build without libnftnl
Lars Wendler reported 1.8.1 build failure when trying to build without nft backend: In file included from ../iptables/nft.h:5, from libxt_limit.c:18: libnftnl/rule.h: No such file or directory Reported-by: Lars Wendler <polynomial-c@gentoo.org> Fixes: 02b80972c43 ("ebtables: Merge libebt_limit.c into libxt_limit.c") Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libxt_limit.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/extensions/libxt_limit.c b/extensions/libxt_limit.c
index c7b66295..1b324657 100644
--- a/extensions/libxt_limit.c
+++ b/extensions/libxt_limit.c
@@ -15,7 +15,6 @@
#include <xtables.h>
#include <linux/netfilter/x_tables.h>
#include <linux/netfilter/xt_limit.h>
-#include "iptables/nft.h"
#include "iptables/nft-bridge.h"
#define XT_LIMIT_AVG "3/hour"