diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2021-11-02 22:08:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-02 22:08:15 +0100 |
commit | 55880e4ae4cb651f54a9531ba9732977d9dd517f (patch) | |
tree | 4a8e0e4226dd3c237baa68b4749c75ac2b4d0967 /python | |
parent | 1f6c94e6630e54c1dc3c8d2e7d6af16712f10cbd (diff) |
TLS: fix two warnings (#1365)
Disable unit tests on CI for big-endian target. We know we have multiple
issues on big-endian architectures (see #1312) and so the unit tests
always fail there. Ignore this error for the time being and let the CI
pass if we don't have other issues.
Remove an unused automa definition
Diffstat (limited to 'python')
-rw-r--r-- | python/ndpi.py | 1 | ||||
-rw-r--r-- | python/ndpi_typestruct.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/python/ndpi.py b/python/ndpi.py index 0d75da3de..653f7a4b7 100644 --- a/python/ndpi.py +++ b/python/ndpi.py @@ -890,7 +890,6 @@ struct ndpi_detection_module_struct { /* HTTP/DNS/HTTPS host matching */ ndpi_automa host_automa, /* Used for DNS/HTTPS */ content_automa, /* Used for HTTP subprotocol_detection */ - subprotocol_automa, /* Used for HTTP subprotocol_detection */ bigrams_automa, impossible_bigrams_automa; /* TOR */ /* IMPORTANT: please update ndpi_finalize_initalization() whenever you add a new automa */ diff --git a/python/ndpi_typestruct.py b/python/ndpi_typestruct.py index e743fe215..b56029584 100644 --- a/python/ndpi_typestruct.py +++ b/python/ndpi_typestruct.py @@ -252,7 +252,6 @@ NDPIDetectionModuleStruct._fields_ = [ ("ndpi_num_custom_protocols", c_uint), ("host_automa", NDPIAutoma), ("content_automa", NDPIAutoma), - ("subprotocol_automa", NDPIAutoma), ("bigrams_automa", NDPIAutoma), ("impossible_bigrams_automa", NDPIAutoma), ("custom_categories", CustomCategories), |