mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Increase size of proto fields to uint16_t, add common default value
This commit is contained in:
parent
f762a45e83
commit
d0896e81d6
36 changed files with 110 additions and 110 deletions
|
@ -60,7 +60,7 @@ struct ConnTuple {
|
|||
uint32_t src_port = 0;
|
||||
uint32_t dst_port = 0;
|
||||
bool is_one_way = false; // if true, don't canonicalize order
|
||||
uint8_t proto;
|
||||
uint16_t proto = UNKNOWN_IP_PROTO;
|
||||
};
|
||||
|
||||
static inline int addr_port_canon_lt(const IPAddr& addr1, uint32_t p1, const IPAddr& addr2, uint32_t p2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue