mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Add missing field initializations for ConnTuple
This commit is contained in:
parent
78636e9c30
commit
06bac61607
1 changed files with 4 additions and 4 deletions
|
@ -64,10 +64,10 @@ struct ConnTuple
|
||||||
{
|
{
|
||||||
IPAddr src_addr;
|
IPAddr src_addr;
|
||||||
IPAddr dst_addr;
|
IPAddr dst_addr;
|
||||||
uint32_t src_port;
|
uint32_t src_port = 0;
|
||||||
uint32_t dst_port;
|
uint32_t dst_port = 0;
|
||||||
bool is_one_way; // if true, don't canonicalize order
|
bool is_one_way = false; // if true, don't canonicalize order
|
||||||
TransportProto proto;
|
TransportProto proto = TRANSPORT_UNKNOWN;
|
||||||
};
|
};
|
||||||
|
|
||||||
static inline int addr_port_canon_lt(const IPAddr& addr1, uint32_t p1, const IPAddr& addr2,
|
static inline int addr_port_canon_lt(const IPAddr& addr1, uint32_t p1, const IPAddr& addr2,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue