mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 12:10:53 +03: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++;
|
dp->split_count++;
|
||||||
break;
|
break;
|
||||||
case 26: /* dpi-desync-split-seqovl */
|
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");
|
DLOG_ERR("Invalid argument for dpi-desync-split-seqovl\n");
|
||||||
exit_clean(1);
|
exit_clean(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user