From 725fcf4852f06e2f54469c2439d13169d5d68d09 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Wed, 20 Sep 2023 11:17:09 +0200 Subject: Renamed HTTP/2 to HTTP2 as the '/' can have side effects with applications sitting on top of nDPI --- src/lib/protocols/http2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/http2.c b/src/lib/protocols/http2.c index 085d10aae..cca341965 100644 --- a/src/lib/protocols/http2.c +++ b/src/lib/protocols/http2.c @@ -57,7 +57,7 @@ void ndpi_search_http2(struct ndpi_detection_module_struct *ndpi_struct, void init_http2_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id) { - ndpi_set_bitmask_protocol_detection("HTTP/2", ndpi_struct, *id, + ndpi_set_bitmask_protocol_detection("HTTP2", ndpi_struct, *id, NDPI_PROTOCOL_HTTP2, ndpi_search_http2, NDPI_SELECTION_BITMASK_PROTOCOL_V4_V6_TCP_WITH_PAYLOAD_WITHOUT_RETRANSMISSION, -- cgit v1.2.3