aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ipp.c
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-05-28 15:00:59 +0200
committerlns <matzeton@googlemail.com>2022-05-28 15:00:59 +0200
commita06477d6fc3a2f3f9cdb7fd31a4151d3025b8a9e (patch)
treebaef7e038ff87345f79af3634354394de27a65aa /src/lib/protocols/ipp.c
parent7e3d0614287bba51d881c89e75c1f9671cccd1b8 (diff)
Fixed HTTP lower/upper protocol mess for Aimini/IPP.fix/http-lower-upper-proto-weirdness
* 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.c2
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)