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?

Roy

Reply via email to