aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/modbus.c
Commit message (Collapse)AuthorAge
* Fix compilation with --enable-debug-messages flagNardi Ivan2020-06-26
| | | | | | | | | | | | NDPI_LOG* macros dereference ndpi_detection_module_struct object which is private to ndpi library (via NDPI_LIB_COMPILATION define). So we can't use them outside the library itself, i.e. in ndpiReader code Therefore, in files in example/, convert all (rare) uses of NDPI_LOG* macros to a new very simple macro, private to ndpiReader program. If necessary, such macro may be improved. According to a comment in ndpi_define.h, each dissector must define its own NDPI_CURRENT_PROTO macro before including ndpi_api.h file
* Added Modbus over TCP dissectorLuca Deri2018-12-21