mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Update src/packet_analysis/protocol/ip/IP.cc
Co-authored-by: Tim Wojtulewicz <timwoj@gmail.com>
This commit is contained in:
parent
2e3425000f
commit
9a74be1558
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ bool IPAnalyzer::AnalyzePacket(size_t len, const uint8_t* data, Packet* packet)
|
|||
return false;
|
||||
}
|
||||
|
||||
packet->ip_hdr = std::make_shared<IP_Hdr>((const struct ip6_hdr*)data, false,
|
||||
ip_hdr = std::make_shared<IP_Hdr>((const struct ip6_hdr*)data, false,
|
||||
static_cast<int>(len));
|
||||
packet->l3_proto = L3_IPV6;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue