mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-06 03:35:00 +00:00
Update ndpi_main.c
This commit is contained in:
parent
6c3cbe50e2
commit
4d95dae2ae
1 changed files with 6 additions and 0 deletions
|
|
@ -1782,6 +1782,12 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
|
|||
ndpi_build_default_ports(ports_a, 10050, 0, 0, 0, 0) /* TCP */,
|
||||
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */
|
||||
);
|
||||
ndpi_set_proto_defaults(ndpi_str, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_S7COMM,
|
||||
1 /* no subprotocol */, no_master,
|
||||
no_master, "s7comm", NDPI_PROTOCOL_CATEGORY_NETWORK,
|
||||
ndpi_build_default_ports(ports_a, 102, 0, 0, 0, 0) /* TCP */,
|
||||
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */
|
||||
);
|
||||
|
||||
#ifdef CUSTOM_NDPI_PROTOCOLS
|
||||
#include "../../../nDPI-custom/custom_ndpi_main.c"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue