mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03:00
nfqws: allow only absolute positive values in seqovl for multisplit/fakedsplit
This commit is contained in:
parent
7b850e2e0e
commit
92c27ea7d8
@ -1212,7 +1212,7 @@ static uint8_t dpi_desync_tcp_packet_play(bool replay, size_t reasm_offset, uint
|
||||
if (dp->desync_mode==DESYNC_FAKEDSPLIT || dp->desync_mode==DESYNC_MULTISPLIT || dp->desync_mode2==DESYNC_FAKEDSPLIT || dp->desync_mode2==DESYNC_MULTISPLIT)
|
||||
{
|
||||
// split seqovl only uses absolute positive values
|
||||
seqovl_pos = dp->seqovl.marker==PM_ABS ? dp->seqovl.pos : 0;
|
||||
seqovl_pos = (dp->seqovl.marker==PM_ABS && dp->seqovl.pos>0) ? dp->seqovl.pos : 0;
|
||||
if (seqovl_pos) DLOG("seqovl pos : %zu\n",seqovl_pos);
|
||||
}
|
||||
else if (dp->desync_mode==DESYNC_FAKEDDISORDER || dp->desync_mode==DESYNC_MULTIDISORDER || dp->desync_mode2==DESYNC_FAKEDDISORDER || dp->desync_mode2==DESYNC_MULTIDISORDER)
|
||||
|
Loading…
Reference in New Issue
Block a user