diff options
author | lns <matzeton@googlemail.com> | 2022-07-28 19:59:15 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2022-07-29 18:24:42 +0200 |
commit | 8358107a9b5760b6dc9cea84c658a5d2be02c2ff (patch) | |
tree | 9dcd51e78edaa9eb1d41149242ba37fe2eb9811d /src/lib/ndpi_main.c | |
parent | 405a52ed65c0b641b26f0571bf6a6c369c5251d7 (diff) |
Add Softether dissector.add/softether-dissector
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 8835a0643..3c8d91811 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -4534,6 +4534,9 @@ static int ndpi_callback_init(struct ndpi_detection_module_struct *ndpi_str) { /* AVAST */ init_avast_dissector(ndpi_str, &a, detection_bitmask); + /* Softether */ + init_softether_dissector(ndpi_str, &a, detection_bitmask); + #ifdef CUSTOM_NDPI_PROTOCOLS #include "../../../nDPI-custom/custom_ndpi_main_init.c" #endif @@ -8251,6 +8254,9 @@ u_int8_t ndpi_extra_dissection_possible(struct ndpi_detection_module_struct *ndp case NDPI_PROTOCOL_BITTORRENT: return(1); break; + + case NDPI_PROTOCOL_SOFTETHER: + return(1); } return(0); |