Use bools instead of single-bit bitfields in Ident and TCP protocol analyzers

This commit is contained in:
Tim Wojtulewicz 2020-01-07 12:07:40 -07:00
parent 9d38419e8a
commit 0f8f53808e
8 changed files with 47 additions and 48 deletions

View file

@ -96,10 +96,10 @@ private:
TCP_Endpoint* endp;
unsigned int deliver_tcp_contents:1;
unsigned int had_gap:1;
unsigned int did_EOF:1;
unsigned int skip_deliveries:1;
bool deliver_tcp_contents;
bool had_gap;
bool did_EOF;
bool skip_deliveries;
uint64_t seq_to_skip;
@ -114,4 +114,4 @@ private:
Type type;
};
} } // namespace analyzer::*
} } // namespace analyzer::*