aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/ipp.c
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2015-06-29 16:56:54 +0200
committerMichele Campus <fci1908@gmail.com>2015-06-29 16:56:54 +0200
commit83d46d02d4407d9930d72140f5d1768bc6c7093b (patch)
tree0c844ae85f44d73ed01ff05f46f48d781d3a53ed /src/lib/protocols/ipp.c
parent276a35d36d89accb0d3ad4db7fbc0a052857f892 (diff)
parent32cdefb7d70bc0e9a59a028758510839fee39685 (diff)
Merge pull request #1 from kYroL01/no_real
No real
Diffstat (limited to 'src/lib/protocols/ipp.c')
-rw-r--r--src/lib/protocols/ipp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/protocols/ipp.c b/src/lib/protocols/ipp.c
index 72a75bc2a..f4daf2859 100644
--- a/src/lib/protocols/ipp.c
+++ b/src/lib/protocols/ipp.c
@@ -27,9 +27,9 @@
#ifdef NDPI_PROTOCOL_IPP
static void ndpi_int_ipp_add_connection(struct ndpi_detection_module_struct *ndpi_struct,
- struct ndpi_flow_struct *flow, ndpi_protocol_type_t protocol_type)
+ struct ndpi_flow_struct *flow/* , ndpi_protocol_type_t protocol_type */)
{
- ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_IPP, protocol_type);
+ ndpi_int_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_IPP/* , protocol_type */);
}
void ndpi_search_ipp(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow)
@@ -90,7 +90,7 @@ void ndpi_search_ipp(struct ndpi_detection_module_struct *ndpi_struct, struct nd
}
NDPI_LOG(NDPI_PROTOCOL_IPP, ndpi_struct, NDPI_LOG_DEBUG, "found ipp\n");
- ndpi_int_ipp_add_connection(ndpi_struct, flow, NDPI_REAL_PROTOCOL);
+ ndpi_int_ipp_add_connection(ndpi_struct, flow/* , NDPI_REAL_PROTOCOL */);
return;
}
@@ -101,7 +101,7 @@ void ndpi_search_ipp(struct ndpi_detection_module_struct *ndpi_struct, struct nd
if (packet->content_line.ptr != NULL && packet->content_line.len > 14
&& memcmp(packet->content_line.ptr, "application/ipp", 15) == 0) {
NDPI_LOG(NDPI_PROTOCOL_IPP, ndpi_struct, NDPI_LOG_DEBUG, "found ipp via POST ... application/ipp.\n");
- ndpi_int_ipp_add_connection(ndpi_struct, flow, NDPI_CORRELATED_PROTOCOL);
+ ndpi_int_ipp_add_connection(ndpi_struct, flow/* , NDPI_CORRELATED_PROTOCOL */);
return;
}
}