aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichele Campus <fci1908@gmail.com>2015-07-12 18:30:08 +0200
committerMichele Campus <fci1908@gmail.com>2015-07-12 18:30:08 +0200
commite178653f482abb81470a7969e430913b1bd5b4b2 (patch)
treecd4b2af77ef551648a953e13e92309f9c507a64a /src
parent05f2eb62701913dc991c906c4930e55ed9d1f09a (diff)
fixed Oscar protocol dissector (3)
Diffstat (limited to 'src')
-rw-r--r--src/lib/protocols/oscar.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/protocols/oscar.c b/src/lib/protocols/oscar.c
index 8789d81d9..3750239af 100644
--- a/src/lib/protocols/oscar.c
+++ b/src/lib/protocols/oscar.c
@@ -553,8 +553,7 @@ static void ndpi_search_oscar_tcp_connect(struct ndpi_detection_module_struct
default: excluded = 1;
}
}
-
- /* mettere un flag per family e type che se non settat -> excluded oscar */
+
if(excluded == 1)
{
NDPI_LOG(NDPI_PROTOCOL_OSCAR, ndpi_struct, NDPI_LOG_DEBUG, "exclude oscar.\n");
@@ -589,7 +588,7 @@ static void ndpi_search_oscar_tcp_connect(struct ndpi_detection_module_struct
*/
if (channel == SIGNOFF)
{
- NDPI_LOG(NDPI_PROTOCOL_OSCAR, ndpi_struct, NDPI_LOG_DEBUG, "OSCAR Detected - Error frame \n");
+ NDPI_LOG(NDPI_PROTOCOL_OSCAR, ndpi_struct, NDPI_LOG_DEBUG, "OSCAR Detected - Signoff frame \n");
ndpi_int_oscar_add_connection(ndpi_struct, flow);
return;
}
@@ -599,7 +598,7 @@ static void ndpi_search_oscar_tcp_connect(struct ndpi_detection_module_struct
*/
if (channel == KEEP_ALIVE)
{
- NDPI_LOG(NDPI_PROTOCOL_OSCAR, ndpi_struct, NDPI_LOG_DEBUG, "OSCAR Detected - Error frame \n");
+ NDPI_LOG(NDPI_PROTOCOL_OSCAR, ndpi_struct, NDPI_LOG_DEBUG, "OSCAR Detected - Keep Alive frame \n");
ndpi_int_oscar_add_connection(ndpi_struct, flow);
return;
}