aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/ndpi.py3
-rw-r--r--src/include/ndpi_typedefs.h5
2 files changed, 7 insertions, 1 deletions
diff --git a/python/ndpi.py b/python/ndpi.py
index 365fdeadf..31abe53dc 100644
--- a/python/ndpi.py
+++ b/python/ndpi.py
@@ -1076,6 +1076,7 @@ struct ndpi_flow_struct {
struct {
struct {
+ char ssl_version_str[12];
uint16_t ssl_version, server_names_len;
char client_requested_server_name[64], *server_names,
*alpn, *tls_supported_versions, *issuerDN, *subjectDN;
@@ -1434,4 +1435,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) \ No newline at end of file
+ self._ffi.dlclose(self._ndpi)
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 765aa2c3b..90f4981f5 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1123,6 +1123,11 @@ typedef enum {
ndpi_cipher_insecure = NDPI_CIPHER_INSECURE
} ndpi_cipher_weakness;
+/*
+ NOTE
+ When the struct below is modified don't forget to update
+ - ndpi_flow_struct (in python/ndpi.py)
+ */
struct ndpi_flow_struct {
u_int16_t detected_protocol_stack[NDPI_PROTOCOL_SIZE];
u_int16_t protocol_stack_info;