mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Packet analysis cleanup.
This commit is contained in:
parent
62562504d5
commit
8d834a1d89
7 changed files with 21 additions and 39 deletions
|
@ -802,7 +802,7 @@ void NetSessions::DoNextInnerPacket(double t, const Packet* pkt,
|
|||
Packet p;
|
||||
p.Init(link_type, &ts, caplen, len, data, false, "");
|
||||
|
||||
if ( p.Layer2Valid() && (p.l3_proto == L3_IPV4 || p.l3_proto == L3_IPV6) )
|
||||
if ( p.l2_valid && (p.l3_proto == L3_IPV4 || p.l3_proto == L3_IPV6) )
|
||||
{
|
||||
auto inner = p.IP();
|
||||
DoNextPacket(t, &p, &inner, outer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue