i = strtoul(optarg, &end, 10);
if (*end != '\0')
ebt_print_error2("--nflog-group must be a number!");
- if (i < 0)
- ebt_print_error2("--nflog-group can not be negative");
info->group = i;
break;
i = strtoul(optarg, &end, 10);
if (*end != '\0')
ebt_print_error2("--nflog-range must be a number!");
- if (i < 0)
- ebt_print_error2("--nflog-range can not be negative");
info->len = i;
break;
i = strtoul(optarg, &end, 10);
if (*end != '\0')
ebt_print_error2("--nflog-threshold must be a number!");
- if (i < 0)
- ebt_print_error2
- ("--nflog-threshold can not be negative");
info->threshold = i;
break;
case NFLOG_NFLOG: