Update nfqws.c

This commit is contained in:
Nik 2024-11-20 21:15:58 +03:00 committed by GitHub
parent 57c4b1a2b2
commit fa5fae689a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1544,9 +1544,9 @@ int main(int argc, char **argv)
} }
break; break;
case 21: /* dpi-desync-repeats */ case 21: /* dpi-desync-repeats */
if (sscanf(optarg,"%u",&dp->desync_repeats)<1 || !dp->desync_repeats || dp->desync_repeats>20) if (sscanf(optarg,"%u",&dp->desync_repeats)<1 || !dp->desync_repeats || dp->desync_repeats>50)
{ {
DLOG_ERR("dpi-desync-repeats must be within 1..20\n"); DLOG_ERR("dpi-desync-repeats must be within 1..50\n");
exit_clean(1); exit_clean(1);
} }
break; break;