Added L2TP tunnel type. Warning fix.
This commit is contained in:
@@ -47,6 +47,7 @@ typedef enum {
|
|||||||
ndpi_gtp_tunnel,
|
ndpi_gtp_tunnel,
|
||||||
ndpi_capwap_tunnel,
|
ndpi_capwap_tunnel,
|
||||||
ndpi_tzsp_tunnel,
|
ndpi_tzsp_tunnel,
|
||||||
|
ndpi_l2tp_tunnel,
|
||||||
} ndpi_packet_tunnel;
|
} ndpi_packet_tunnel;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
@@ -1090,7 +1090,13 @@ const char* ndpi_tunnel2str(ndpi_packet_tunnel tt) {
|
|||||||
case ndpi_tzsp_tunnel:
|
case ndpi_tzsp_tunnel:
|
||||||
return("TZSP");
|
return("TZSP");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case ndpi_l2tp_tunnel:
|
||||||
|
return("L2TP");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return("");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ********************************** */
|
/* ********************************** */
|
||||||
|
|||||||
Reference in New Issue
Block a user