diff options
author | Toni <matzeton@googlemail.com> | 2022-05-28 16:31:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-28 16:31:35 +0200 |
commit | cfd23e88198716d8d5b3625a7da586536701349f (patch) | |
tree | 0c92d7db0f310d4e59cf3111613817bc87b187ae /src/lib/protocols/ipp.c | |
parent | 77dc884a4c5dbe5111a6723d64c9e8b1a57c40b3 (diff) |
Fixed HTTP lower/upper protocol mess for Aimini/IPP. (#1557)
* If HTTP was already detected, there is no need to overwrite the detection again
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/ipp.c')
-rw-r--r-- | src/lib/protocols/ipp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ipp.c b/src/lib/protocols/ipp.c index 546bfaea3..b88b52708 100644 --- a/src/lib/protocols/ipp.c +++ b/src/lib/protocols/ipp.c @@ -32,7 +32,7 @@ static void ndpi_int_ipp_add_connection(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { - ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_HTTP, NDPI_PROTOCOL_IPP, NDPI_CONFIDENCE_DPI); + ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_IPP, NDPI_PROTOCOL_HTTP, NDPI_CONFIDENCE_DPI); } void ndpi_search_ipp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) |