Renamed HTTP/2 to HTTP2 as the '/' can have side effects with applications sitting on top of nDPI

This commit is contained in:
Luca Deri
2023-09-20 11:17:09 +02:00
parent d4e0b79dd6
commit 725fcf4852
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -2147,7 +2147,7 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_SAFE, NDPI_PROTOCOL_HTTP2,
"HTTP/2", NDPI_PROTOCOL_CATEGORY_WEB,
"HTTP2", NDPI_PROTOCOL_CATEGORY_WEB,
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);