diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-09 18:36:13 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-09 21:31:12 +0100 |
commit | 58058ff528cf78b7a2afb625f8dd21f829673f04 (patch) | |
tree | 44375602b87003074507340b6cb9ce633dd4dc9f /src/ratelimiter.c | |
parent | eb2513fdaa0f9b589e5b525cdf973b4751d91fe6 (diff) |
compat: build dep errors belong here, since it's out of tree specific
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/ratelimiter.c')
-rw-r--r-- | src/ratelimiter.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ratelimiter.c b/src/ratelimiter.c index 7c23d55..be3e6a1 100644 --- a/src/ratelimiter.c +++ b/src/ratelimiter.c @@ -4,17 +4,10 @@ #include "peer.h" #include "device.h" -#include <linux/netfilter/x_tables.h> #include <linux/module.h> +#include <linux/netfilter/x_tables.h> #include <net/ip.h> -#if !IS_ENABLED(CONFIG_NETFILTER_XT_MATCH_HASHLIMIT) -#error "WireGuard requires CONFIG_NETFILTER_XT_MATCH_HASHLIMIT." -#endif -#if IS_ENABLED(CONFIG_IPV6) && !IS_ENABLED(CONFIG_IP6_NF_IPTABLES) -#error "WireGuard requires CONFIG_IP6_NF_IPTABLES when using CONFIG_IPV6." -#endif - static struct xt_match *v4_match; #if IS_ENABLED(CONFIG_IPV6) static struct xt_match *v6_match; |