diff options
author | Luca Deri <deri@ntop.org> | 2016-12-19 14:29:51 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2016-12-19 14:29:51 +0100 |
commit | 5486dcd1f9b89b65e1cd6ccfa46de7a73c590e3b (patch) | |
tree | c0f29dbf451debc23219395e5df26606d7c3b2f9 /src | |
parent | 61f0eb062ef489cebba21c6c866b47a879d01a24 (diff) |
Added default AFP port
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 59253bf18..bf45c5bca 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -1175,8 +1175,8 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_AFP, no_master, no_master, "AFP", NDPI_PROTOCOL_CATEGORY_FILE_TRANSFER, - 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_build_default_ports(ports_a, 548, 0, 0, 0, 0) /* TCP */, + ndpi_build_default_ports(ports_b, 548, 0, 0, 0, 0) /* UDP */); ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_POTENTIALLY_DANGEROUS, NDPI_PROTOCOL_STEALTHNET, no_master, no_master, "Stealthnet", NDPI_PROTOCOL_CATEGORY_P2P, |