diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2024-04-02 04:42:06 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-04-02 04:42:06 +0200 |
commit | f25e290be0b6bd40553c33bd0e3fb8ec3234ba91 (patch) | |
tree | cfc5f796cb9212feb77f0666a5111bd5a4e7910a /src/lib/ndpi_main.c | |
parent | 21572635ab15a993600c4efd1246ac0691968a75 (diff) | |
parent | 599cc0f4b83a96c247a92aaaa3f39acfec9e1dbe (diff) |
Merge remote-tracking branch 'origin/dev' into fix/unused-params-and-fnsfix/unused-params-and-fns
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index b9f118f6a..517df9800 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2287,6 +2287,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp "FLUTE", NDPI_PROTOCOL_CATEGORY_DOWNLOAD_FT, 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_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_LOLWILDRIFT, + "LoLWildRift", NDPI_PROTOCOL_CATEGORY_GAME, + ndpi_build_default_ports(ports_a, 0, 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" @@ -6158,6 +6162,9 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) { /* File Delivery over Unidirectional Transport */ init_flute_dissector(ndpi_str, &a); + /* League of Legends: Wild Rift */ + init_lolwildrift_dissector(ndpi_str, &a); + #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_main_init.c" #endif |