diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2025-07-03 09:59:07 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2025-07-03 10:59:41 +0200 |
commit | 09e38c383f1659074a9812c4eec96c7542530781 (patch) | |
tree | 62fe086a56ab84144a4530e7b77e9af73f1f7be8 /src/lib/ndpi_main.c | |
parent | 81ca06b0c7528a3da65ab0c8fab0b0b88c2f859d (diff) |
Added EasyWeather protocol dissectoradd/easyweather
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 2b8619032..7c346732e 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -2897,6 +2897,11 @@ static void init_protocol_defaults(struct ndpi_detection_module_struct *ndpi_str ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, ndpi_build_default_ports(ports_b, 3222, 0, 0, 0, 0) /* UDP */, 0); + ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_EASYWEATHER, + "EasyWeather", NDPI_PROTOCOL_CATEGORY_NETWORK, NDPI_PROTOCOL_QOE_CATEGORY_UNSPECIFIED, + ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */, + ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */, + 0); /* Remove */ ndpi_set_proto_defaults(ndpi_str, 1 /* cleartext */, 0 /* nw proto */, NDPI_PROTOCOL_ACCEPTABLE, NDPI_PROTOCOL_FREE, @@ -7208,6 +7213,9 @@ static int dissectors_init(struct ndpi_detection_module_struct *ndpi_str) { /* Gateway Load Balancing Protocol */ init_glbp_dissector(ndpi_str); + /* EasyWeather Wifi Protocol */ + init_easyweather_dissector(ndpi_str); + #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_main_init.c" #endif |