diff options
author | Luca Deri <deri@ntop.org> | 2023-09-20 11:17:09 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2023-09-20 11:17:09 +0200 |
commit | 725fcf4852f06e2f54469c2439d13169d5d68d09 (patch) | |
tree | 1c9f34ee0cf7003fd17caa220927c4f213c831b5 /src/lib/ndpi_main.c | |
parent | d4e0b79dd60b8a5ef214f3a55291eb05594e7d71 (diff) |
Renamed HTTP/2 to HTTP2 as the '/' can have side effects with applications sitting on top of nDPI
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 9f0b946a6..7a50731d6 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -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 */); |