mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
tcp,udp,icmp adapters: Fix UpdateConnVal() superclass call
Now that SessionAdapter implements UpdateConnVal(), the individual adapters need to call that instead of Analyzer::UpdateConnVal() Thanks clang-tidy. Relates to #4337 #4725 #4734 #4737
This commit is contained in:
parent
2f2f328a72
commit
9d7cfcbce3
3 changed files with 3 additions and 3 deletions
|
@ -32,7 +32,7 @@ void ICMPSessionAdapter::UpdateConnVal(zeek::RecordVal* conn_val) {
|
|||
UpdateEndpointVal(orig_endp_val, true);
|
||||
UpdateEndpointVal(resp_endp_val, false);
|
||||
|
||||
analyzer::Analyzer::UpdateConnVal(conn_val);
|
||||
SessionAdapter::UpdateConnVal(conn_val);
|
||||
}
|
||||
|
||||
void ICMPSessionAdapter::UpdateEndpointVal(RecordVal* endp, bool is_orig) {
|
||||
|
|
|
@ -1044,7 +1044,7 @@ void TCPSessionAdapter::UpdateConnVal(RecordVal* conn_val) {
|
|||
resp_endp_val->Assign(1, resp->state);
|
||||
|
||||
// Call children's UpdateConnVal
|
||||
Analyzer::UpdateConnVal(conn_val);
|
||||
SessionAdapter::UpdateConnVal(conn_val);
|
||||
|
||||
// Have to do packet_children ourselves.
|
||||
for ( Analyzer* a : packet_children )
|
||||
|
|
|
@ -33,7 +33,7 @@ void UDPSessionAdapter::UpdateConnVal(RecordVal* conn_val) {
|
|||
UpdateEndpointVal(resp_endp_val, false);
|
||||
|
||||
// Call children's UpdateConnVal
|
||||
Analyzer::UpdateConnVal(conn_val);
|
||||
SessionAdapter::UpdateConnVal(conn_val);
|
||||
}
|
||||
|
||||
void UDPSessionAdapter::UpdateEndpointVal(RecordVal* endp, bool is_orig) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue