Set original/outer packet flags to reflect inner packet results

Propagate inner packet flags such as 'processed', 'dump_packet', 'dump_size'
to outer packet for packets involving tunneled data.
This commit is contained in:
mnhsrj 2025-02-12 09:43:44 -05:00
parent b7b31ebce5
commit 0257b6cd32
No known key found for this signature in database
GPG key ID: 4FFE3815FE3CC260
3 changed files with 15 additions and 4 deletions

View file

@ -46,6 +46,7 @@ void Packet::Init(int arg_link_type, pkt_timeval* arg_ts, uint32_t arg_caplen, u
data = arg_data;
dump_packet = false;
dump_size = 0;
time = ts.tv_sec + double(ts.tv_usec) / 1e6;
eth_type = 0;