diff options
author | Luca <deri@ntop.org> | 2015-07-01 16:40:43 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2015-07-01 16:40:43 +0200 |
commit | 857020c475947c0aed94e8156be1ba809fa8fe30 (patch) | |
tree | 22f1d168a1e42946743644ab07567859b2a5a4d0 /src | |
parent | 68af5c221d349a555565ca4d64db25b7554db3a8 (diff) |
Added missing type that defaulted to int
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ndpi_typedefs.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index c02103e63..8e24021c7 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -476,14 +476,10 @@ typedef struct ndpi_packet_struct { # error protocol stack size not supported # endif - /* struct { */ - /* u_int8_t entry_is_real_protocol:5; */ - /* u_int8_t current_stack_size_minus_one:3; */ - /* } */ #if !defined(WIN32) __attribute__ ((__packed__)) #endif - protocol_stack_info; + u_int16_t protocol_stack_info; #endif struct ndpi_int_one_line_struct line[NDPI_MAX_PARSE_LINES_PER_PACKET]; @@ -677,15 +673,10 @@ typedef struct ndpi_flow_struct { # error protocol stack size not supported # endif - /* struct { */ - /* u_int8_t entry_is_real_protocol:5; */ - /* u_int8_t current_stack_size_minus_one:3; */ - /* } */ - #if !defined(WIN32) __attribute__ ((__packed__)) #endif - protocol_stack_info; + u_int16_t protocol_stack_info; #endif /* init parameter, internal used to set up timestamp,... */ |