From d95cd9912c158ba7bee75d88e99a0a5619882bec Mon Sep 17 00:00:00 2001 From: Alfredo Cardigliano Date: Wed, 21 Apr 2021 12:43:12 +0200 Subject: Add vxlan enum to ndpi_packet_tunnel --- src/include/ndpi_typedefs.h | 1 + src/lib/ndpi_utils.c | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'src') diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 7434758bf..5fc4ca06e 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -56,6 +56,7 @@ typedef enum { ndpi_capwap_tunnel, ndpi_tzsp_tunnel, ndpi_l2tp_tunnel, + ndpi_vxlan_tunnel, } ndpi_packet_tunnel; /* diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 9ff1af500..262cb2d72 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1433,6 +1433,10 @@ const char* ndpi_tunnel2str(ndpi_packet_tunnel tt) { case ndpi_l2tp_tunnel: return("L2TP"); break; + + case ndpi_vxlan_tunnel: + return("VXLAN"); + break; } return(""); -- cgit v1.2.3