diff options
author | Luca Deri <lucaderi@users.noreply.github.com> | 2015-07-21 13:25:46 +0200 |
---|---|---|
committer | Luca Deri <lucaderi@users.noreply.github.com> | 2015-07-21 13:25:46 +0200 |
commit | 2ab10ec9b7df824aa66beb3e83d17d1e0e420716 (patch) | |
tree | aa444475213cee44a151a640d91a05a8cb120705 /src/lib/ndpi_main.c | |
parent | 0d68f8ab5d92a9021b91702913cc973eb98a9235 (diff) | |
parent | 0ce34f341e8184abb798fb7abc8b5aa1a3b235cb (diff) |
Merge pull request #66 from c4stan/dev
Starcraft 2/Battle.net support
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 0623433bb..feb613733 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1607,6 +1607,11 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, "VHUA", ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 58267, 0, 0, 0, 0) /* UDP */); + ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_STARCRAFT2, + no_master, + no_master, "Starcraft 2", + 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 */ init_string_based_protocols(ndpi_mod); |