diff options
author | aouinizied <aouinizied@gmail.com> | 2020-07-09 00:56:44 +0200 |
---|---|---|
committer | aouinizied <aouinizied@gmail.com> | 2020-07-09 00:56:44 +0200 |
commit | ce023599530bb6ae02879959b9a1830622d97d31 (patch) | |
tree | e7d23b333901482707569bf8754e7315fc0a4c18 /python/ndpi.py | |
parent | d658ac9e61a78122c9fe0cfba3797dead382ba3b (diff) |
Add NDPI_MALFORMED_PACKET risk.
Diffstat (limited to 'python/ndpi.py')
-rw-r--r-- | python/ndpi.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/ndpi.py b/python/ndpi.py index a2bd4202f..365fdeadf 100644 --- a/python/ndpi.py +++ b/python/ndpi.py @@ -305,6 +305,7 @@ typedef enum { NDPI_HTTP_SUSPICIOUS_HEADER, NDPI_TLS_NOT_CARRYING_HTTPS, NDPI_SUSPICIOUS_DGA_DOMAIN, + NDPI_MALFORMED_PACKET, /* Leave this as last member */ NDPI_MAX_RISK } ndpi_risk_enum; @@ -1433,4 +1434,4 @@ class NDPI(): def ndpi_exit_detection_module(self): """ Exit function for nDPI module """ self._ndpi.ndpi_exit_detection_module(self._mod) - self._ffi.dlclose(self._ndpi) + self._ffi.dlclose(self._ndpi)
\ No newline at end of file |