Skip to content

Commit

Permalink
basicplus - update tcp options mask across flow packets
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSableCZ committed Sep 18, 2024
1 parent 402979e commit a643fd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion process/basicplus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,11 @@ int BASICPLUSPlugin::pre_update(Flow &rec, Packet &pkt)
p->ip_ttl[1] = pkt.ip_ttl;
p->ip_flg[1] = pkt.ip_flags;
p->tcp_mss[1] = pkt.tcp_mss;
p->tcp_opt[1] = pkt.tcp_options;
p->tcp_win[1] = pkt.tcp_window;
p->dst_filled = true;
}
// update tcp options mask across the tcp flow
p->tcp_opt[dir] |= pkt.tcp_options;
return 0;
}

Expand Down

0 comments on commit a643fd8

Please sign in to comment.