mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 13:38:19 +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
|
@ -77,7 +77,7 @@ ConnKey::ConnKey(Val* v) {
|
|||
resp_p = vr->FieldOffset("resp_p");
|
||||
proto = vr->FieldOffset("proto");
|
||||
|
||||
if ( orig_h < 0 || resp_h < 0 || orig_p < 0 || resp_p < 0 || proto < 0 ) {
|
||||
if ( orig_h < 0 || resp_h < 0 || orig_p < 0 || resp_p < 0 ) {
|
||||
valid = false;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue