mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +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
|
@ -46,7 +46,7 @@ public:
|
|||
src_port(0),
|
||||
dst_port(0),
|
||||
proto(TRANSPORT_UNKNOWN),
|
||||
proto_id(255),
|
||||
proto_id(UNKNOWN_IP_PROTO),
|
||||
type(t),
|
||||
uid(UID(detail::bits_per_uid)) {}
|
||||
|
||||
|
@ -137,7 +137,7 @@ protected:
|
|||
uint16_t src_port;
|
||||
uint16_t dst_port;
|
||||
TransportProto proto;
|
||||
uint8_t proto_id;
|
||||
uint16_t proto_id;
|
||||
BifEnum::Tunnel::Type type;
|
||||
UID uid;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue