mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-27 11:50:34 +05:00
nfqws: allow seqovl=0 to disable seqovl
This commit is contained in:
parent
3ad029efe0
commit
9a087fc6c9
@ -1595,7 +1595,13 @@ int main(int argc, char **argv)
|
||||
dp->split_count++;
|
||||
break;
|
||||
case 26: /* dpi-desync-split-seqovl */
|
||||
if (!parse_split_pos(optarg, &dp->seqovl))
|
||||
if (!strcmp(optarg,"0"))
|
||||
{
|
||||
// allow zero = disable seqovl
|
||||
dp->seqovl.marker=PM_ABS;
|
||||
dp->seqovl.pos=0;
|
||||
}
|
||||
else if (!parse_split_pos(optarg, &dp->seqovl))
|
||||
{
|
||||
DLOG_ERR("Invalid argument for dpi-desync-split-seqovl\n");
|
||||
exit_clean(1);
|
||||
|
Loading…
Reference in New Issue
Block a user