diff options
-rw-r--r-- | src/include/ndpi_typedefs.h | 1 | ||||
-rw-r--r-- | src/lib/ndpi_utils.c | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 55438dee3..f9c49c4b5 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -47,6 +47,7 @@ typedef enum { ndpi_gtp_tunnel, ndpi_capwap_tunnel, ndpi_tzsp_tunnel, + ndpi_l2tp_tunnel, } ndpi_packet_tunnel; typedef enum { diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index da6b59f72..bf3f748be 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1090,7 +1090,13 @@ const char* ndpi_tunnel2str(ndpi_packet_tunnel tt) { case ndpi_tzsp_tunnel: return("TZSP"); break; + + case ndpi_l2tp_tunnel: + return("L2TP"); + break; } + + return(""); } /* ********************************** */ |