Added L2TP tunnel type. Warning fix.

This commit is contained in:
Alfredo Cardigliano
2019-11-06 09:55:22 +01:00
parent fb56b042c0
commit ac46a4dd58
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -47,6 +47,7 @@ typedef enum {
ndpi_gtp_tunnel,
ndpi_capwap_tunnel,
ndpi_tzsp_tunnel,
ndpi_l2tp_tunnel,
} ndpi_packet_tunnel;
typedef enum {
+6
View File
@@ -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("");
}
/* ********************************** */