diff options
author | Alfredo Cardigliano <cardigliano@ntop.org> | 2022-09-01 12:18:04 +0200 |
---|---|---|
committer | Alfredo Cardigliano <cardigliano@ntop.org> | 2022-09-01 12:18:04 +0200 |
commit | 2372063d25087b4a30be81c06741770d20d8c64a (patch) | |
tree | 8b14685472da458e10030d5892cc34df90c1d586 | |
parent | 8f410b751f12a4f887e0ae3477591e783bbf1788 (diff) |
Temporarily restore ndpi_serialization_unknown = 0
-rw-r--r-- | src/include/ndpi_typedefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 30c156030..aaf621d33 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1611,7 +1611,7 @@ typedef enum { * - key supports string and uint32 (compressed to uint8/uint16) only, this is also enforced by the API * - always add new enum at the end of the list (to avoid breaking backward compatibility) */ typedef enum { - ndpi_serialization_double = 0, + ndpi_serialization_unknown = 0, ndpi_serialization_end_of_record = 1, ndpi_serialization_uint8 = 2, ndpi_serialization_uint16 = 3, @@ -1629,7 +1629,7 @@ typedef enum { ndpi_serialization_end_of_list = 15, /* Do not add new types! * Exceeding 16 types requires reworking the TLV encoding due to key type limit (4 bit) */ - ndpi_serialization_unknown + ndpi_serialization_double = 16 /* FIXX this is currently unusable */ } ndpi_serialization_type; #define NDPI_SERIALIZER_DEFAULT_HEADER_SIZE 1024 |