Skip to contentSkip to conversation

net/netfilter/nf_nat_core.h was removed by d2c5c103b1337f590b7edf1509a6e294bdf22402

PATCH New Bruno Wolff III 1 participant 1 message Mar 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/netfilter/nf_nat_core.h was removed by d2c5c103b1337f590b7edf1509a6e294bdf22402

It looks like net/netfilter/nf_nat_core.h isn't needed any more and things seemed to work without it.

---
 src/compat/compat.h | 2 ++
 1 file changed, 2 insertions(+)
src/compat/compat.h +2 -0
index 7a61e4c1a5cd..2dcdbaeb0ad6 100644
@@ -792,7 +792,9 @@ struct __kernel_timespec {
 #include <net/ipv6.h>
 #include <net/icmp.h>
 #include <net/netfilter/nf_conntrack.h>
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 1, 0)
 #include <net/netfilter/nf_nat_core.h>
+#endif
 static inline void new_icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info)
 {
 	enum ip_conntrack_info ctinfo;
Signature · 6 lines
2.21.0

_______________________________________________
WireGuard mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/wireguard