mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
nfqws: cosmetics
This commit is contained in:
parent
ad5588ebf1
commit
479ba87fc5
@ -889,7 +889,7 @@ int main(int argc, char **argv)
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
case 20: /* dpi-desync-repeats */
|
case 20: /* dpi-desync-repeats */
|
||||||
if (sscanf(optarg,"%u",¶ms.desync_repeats)<1 || params.desync_repeats<=0 || params.desync_repeats>20)
|
if (sscanf(optarg,"%u",¶ms.desync_repeats)<1 || !params.desync_repeats || params.desync_repeats>20)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "dpi-desync-repeats must be within 1..20\n");
|
fprintf(stderr, "dpi-desync-repeats must be within 1..20\n");
|
||||||
exit_clean(1);
|
exit_clean(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user