aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/hangout.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-07-22 23:24:40 +0200
committerLuca Deri <deri@ntop.org>2019-07-22 23:24:40 +0200
commit974abaa275079beababe4a8f381154d04adc91b6 (patch)
treeb5684c9005875723f4f3ee399a9e2f53a252f850 /src/lib/protocols/hangout.c
parentccea4669de7049372c31c5710fcde04b0383a3aa (diff)
Merged Google Hangout and Duo as they are pretty similar from the network standpoint and from the features they implement
Diffstat (limited to 'src/lib/protocols/hangout.c')
-rw-r--r--src/lib/protocols/hangout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/protocols/hangout.c b/src/lib/protocols/hangout.c
index a9b63a021..99bf879cb 100644
--- a/src/lib/protocols/hangout.c
+++ b/src/lib/protocols/hangout.c
@@ -20,7 +20,7 @@
#include "ndpi_protocol_ids.h"
-#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_HANGOUT
+#define NDPI_CURRENT_PROTO NDPI_PROTOCOL_HANGOUT_DUO
#include "ndpi_api.h"
@@ -89,7 +89,7 @@ void ndpi_search_hangout(struct ndpi_detection_module_struct *ndpi_struct,
||
((packet->tcp != NULL) && (isHangoutTCPPort(ntohs(packet->tcp->source)) || isHangoutTCPPort(ntohs(packet->tcp->dest))))) {
NDPI_LOG_INFO(ndpi_struct, "found Hangout\n");
- ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_HANGOUT, NDPI_PROTOCOL_UNKNOWN);
+ ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_HANGOUT_DUO, NDPI_PROTOCOL_UNKNOWN);
return;
}
}
@@ -102,7 +102,7 @@ void ndpi_search_hangout(struct ndpi_detection_module_struct *ndpi_struct,
void init_hangout_dissector(struct ndpi_detection_module_struct *ndpi_struct, u_int32_t *id,
NDPI_PROTOCOL_BITMASK *detection_bitmask) {
ndpi_set_bitmask_protocol_detection("GoogleHangout", ndpi_struct, detection_bitmask, *id,
- NDPI_PROTOCOL_HANGOUT,
+ NDPI_PROTOCOL_HANGOUT_DUO,
ndpi_search_hangout,
NDPI_SELECTION_BITMASK_PROTOCOL_TCP_OR_UDP,
SAVE_DETECTION_BITMASK_AS_UNKNOWN,