diff options
author | Luca Deri <deri@ntop.org> | 2024-12-02 23:09:25 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-12-02 23:09:25 +0100 |
commit | ea1b8dc1cb3caffbe4937c9b8ca1a3ecde4c3351 (patch) | |
tree | 5d31c0d3de3fb77c79b1bfed7b0fe847b5df4d7c /src/lib | |
parent | 2a8c7bfa98f07fbe6ed03aaf28221ef6c54ebf3e (diff) |
Added STUN custom support
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/ndpi_utils.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 9a77940b2..10634f9a0 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -1631,6 +1631,11 @@ int ndpi_dpi2json(struct ndpi_detection_module_struct *ndpi_struct, ndpi_serialize_string_string(serializer, "multimedia_flow_types", ndpi_multimedia_flowtype2str(content, sizeof(content), flow->flow_multimedia_types)); + +#ifdef CUSTOM_NDPI_PROTOCOLS +#include "../../../nDPI-custom/ndpi_utils_dpi2json_stun.c" +#endif + ndpi_serialize_end_of_block(serializer); break; @@ -1653,7 +1658,7 @@ int ndpi_dpi2json(struct ndpi_detection_module_struct *ndpi_struct, break; #ifdef CUSTOM_NDPI_PROTOCOLS -#include "../../../nDPI-custom/ndpi_utils_dpi2json.c" +#include "../../../nDPI-custom/ndpi_utils_dpi2json_protos.c" #endif } /* switch */ |