aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSorin Zamfir <zamfir.sorin@yahoo.com>2016-03-19 20:50:20 +0200
committerSorin Zamfir <sorin.zamfir@elektrobit.com>2016-03-19 20:50:38 +0200
commit28806f3187d8a0eb5c9f42b2c57157e1c9fcc84a (patch)
tree7d2e7197a66c8f4057e46321ee8faf8f0521756a
parent245ca20eea6ce9154a9b8953ec782f615eb2392c (diff)
Minor changes to a comment
-rw-r--r--src/lib/protocols/coap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/protocols/coap.c b/src/lib/protocols/coap.c
index 025385fe0..8089c8159 100644
--- a/src/lib/protocols/coap.c
+++ b/src/lib/protocols/coap.c
@@ -75,13 +75,13 @@ void ndpi_search_coap (struct ndpi_detection_module_struct *ndpi_struct,
return;
}
if ((class == 0) && ((detail == 1) || (detail == 2 ) || (detail == 3 ) || (detail == 4 ))) {
- // we should probably search for options as well and payload
+ // we should probably search for options as well and payload for deeper inspection
NDPI_LOG(NDPI_PROTOCOL_COAP, ndpi_struct, NDPI_LOG_DEBUG, "Coap found ... req message\n");
ndpi_int_coap_add_connection(ndpi_struct,flow);
return;
}
if ((class == 2) || (class == 4) || (class == 5)) {
- // we should probably search for options and payload
+ // we should probably search for options as well and payload for deeper inspection
NDPI_LOG(NDPI_PROTOCOL_COAP, ndpi_struct, NDPI_LOG_DEBUG, "Coap found ... resp message\n");
ndpi_int_coap_add_connection(ndpi_struct,flow);
return;