Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Using wg(4) with a commerical VPN provider

On 11/11/2020 01:49, Brad Spencer wrote:
@@ -2352,6 +2361,7 @@
  	if (*af == AF_INET) {
  		packet_len = ntohs(ip->ip_len);
  	} else {
+#ifdef INET6
  		const struct ip6_hdr *ip6;
if (__predict_false(decrypted_len < sizeof(struct ip6_hdr)))

Might be better to roll it into case statement.
Could wg one day work with a third address family?


Home | Main Index | Thread Index | Old Index