From d9264e415c1325946c9b638e6455b0126ee9c8ad Mon Sep 17 00:00:00 2001 From: Campus Date: Sun, 27 Mar 2016 01:39:38 +0100 Subject: fixed and improved bittorrent detection for issue https://github.com/ntop/nDPI/issues/164 --- src/lib/ndpi_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 591472e58..07ae9dbab 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -863,7 +863,7 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp no_master, no_master, "BitTorrent", ndpi_build_default_ports(ports_a, 51413, 0, 0, 0, 0) /* TCP */, - ndpi_build_default_ports(ports_b, 6771, 0, 0, 0, 0) /* UDP */); + ndpi_build_default_ports(ports_b, 6771, 51413, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_TEREDO, no_master, no_master, "Teredo", -- cgit v1.2.3