mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 07:38:19 +00:00
Add some missing bits when flipping endpoints.
Couple places missed flipping state.
This commit is contained in:
parent
62a52be314
commit
0ef709ae7c
2 changed files with 9 additions and 0 deletions
|
@ -1162,6 +1162,9 @@ void TCPSessionAdapter::FlipRoles()
|
|||
orig = tmp_ep;
|
||||
orig->is_orig = ! orig->is_orig;
|
||||
resp->is_orig = ! resp->is_orig;
|
||||
first_packet_seen = ((first_packet_seen & ORIG) ? RESP : 0) |
|
||||
((first_packet_seen & RESP) ? ORIG : 0);
|
||||
is_partial = 0; // resetting, it may be re-established later
|
||||
}
|
||||
|
||||
void TCPSessionAdapter::UpdateConnVal(RecordVal* conn_val)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue