Browse Source

nfqws: allow seqovl=0 to disable seqovl

pull/800/head
bol-van 5 months ago
parent
commit
9a087fc6c9
  1. 8
      nfq/nfqws.c

8
nfq/nfqws.c

@ -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…
Cancel
Save