--- a/xt_FULLCONENAT.c +++ b/xt_FULLCONENAT.c @@ -472,7 +472,7 @@ static unsigned int fullconenat_tg(struct sk_buff *skb, const struct xt_action_p struct nat_mapping *mapping, *src_mapping; unsigned int ret; - struct nf_nat_range newrange; + struct nf_nat_range2 newrange; __be32 new_ip, ip; uint16_t port, original_port, want_port;