mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Fix ERSPAN III optional sub-header parsing
This commit is contained in:
parent
85c6c2b9ee
commit
42dc2906af
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ void NetSessions::DoNextPacket(double t, const Packet* pkt, const IP_Hdr* ip_hdr
|
|||
erspan_len = 12;
|
||||
eth_len = 14;
|
||||
|
||||
auto flags = data + erspan_len - 1;
|
||||
auto flags = data + gre_len + erspan_len - 1;
|
||||
bool have_opt_header = ((*flags & 0x01) == 0x01);
|
||||
|
||||
if ( have_opt_header )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue