mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Change Packet::ip_hdr to be a shared_ptr so it can be copied into EncapsulatingConn
This commit is contained in:
parent
d4f57a6100
commit
ed798c6aba
24 changed files with 91 additions and 42 deletions
|
@ -542,7 +542,7 @@ static int32_t update_last_seq(analyzer::tcp::TCP_Endpoint* endpoint, uint32_t l
|
|||
}
|
||||
|
||||
void TCPSessionAdapter::Process(bool is_orig, const struct tcphdr* tp, int len,
|
||||
const std::unique_ptr<IP_Hdr>& ip, const u_char* data,
|
||||
const std::shared_ptr<IP_Hdr>& ip, const u_char* data,
|
||||
int remaining)
|
||||
{
|
||||
analyzer::tcp::TCP_Flags flags(tp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue