aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/yaf/files/patch-src_decode.c
blob: 2eacb4cd8aa8054246a0ff651a1393cb5e51b3dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- src/decode.c.orig	2023-02-08 18:37:15 UTC
+++ src/decode.c
@@ -1653,6 +1653,12 @@ yfDecodeIP(
             key->dp = 0;
         }
         break;
+      case YF_PROTO_TUNNEL_IP6:
+        if (!(pkt = yfDecodeIP(ctx, YF_TYPE_IPv6, caplen, pkt, key, iplen,
+			       fraginfo, tcpinfo))) {
+	    return NULL;
+	}
+	break;
       default:
         /* No layer 4 header we understand. Zero ports. */
         key->sp = 0;