diff options
author | Luca Deri <deri@ntop.org> | 2016-07-20 01:40:16 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2016-07-20 01:40:16 +0200 |
commit | 18b9addc852e00416b48397cc2dda5a45cc0d0eb (patch) | |
tree | d0a7babb3d82780fd3003c83aeec0024ed5c6400 /src/lib/ndpi_main.c | |
parent | abdccaa8eb45f9473536dd4e055196b03197894a (diff) |
Implemented #228
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index f97a2fffc..203ce0c2c 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1551,6 +1551,11 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, "DRDA", ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0), /* TCP */ ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0)); /* UDP */ + ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_SERVICE_HANGOUT, + no_master, + no_master, "GoogleHangout", + ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, + ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */); /* calling function for host and content matched protocols */ @@ -2567,6 +2572,9 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n /* GIT */ init_git_dissector(ndpi_struct, &a, detection_bitmask); + /* HANGOUT */ + init_hangout_dissector(ndpi_struct, &a, detection_bitmask); + /* DRDA */ init_drda_dissector(ndpi_struct, &a, detection_bitmask); |