Skip to content

Commit 1d9b870

Browse files
committed
basicplus - update tcp options mask across flow packets
1 parent c24bd29 commit 1d9b870

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

process/basicplus.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ int BASICPLUSPlugin::pre_update(Flow &rec, Packet &pkt)
9393
p->ip_ttl[1] = pkt.ip_ttl;
9494
p->ip_flg[1] = pkt.ip_flags;
9595
p->tcp_mss[1] = pkt.tcp_mss;
96-
p->tcp_opt[1] = pkt.tcp_options;
9796
p->tcp_win[1] = pkt.tcp_window;
9897
p->dst_filled = true;
9998
}
99+
// update tcp options mask across the tcp flow
100+
p->tcp_opt[dir] |= pkt.tcp_options;
100101
return 0;
101102
}
102103

0 commit comments

Comments
 (0)