diff options
-rw-r--r-- | xt_FULLCONENAT.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xt_FULLCONENAT.c b/xt_FULLCONENAT.c index 4595aa3..3d0f046 100644 --- a/xt_FULLCONENAT.c +++ b/xt_FULLCONENAT.c @@ -32,6 +32,10 @@ #define HASHTABLE_BUCKET_BITS 10 +#ifndef NF_NAT_RANGE_PROTO_RANDOM_FULLY +#define NF_NAT_RANGE_PROTO_RANDOM_FULLY (1 << 4) +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 10, 0) static inline int nf_ct_netns_get(struct net *net, u8 nfproto) { return 0; } |