mirror of
https://github.com/ValdikSS/GoodbyeDPI.git
synced 2024-11-21 17:45:24 +01:00
Allow to set --max-payload to zero
This commit is contained in:
parent
766a8ab4ed
commit
1cfd2b1b9f
@ -870,7 +870,7 @@ int main(int argc, char *argv[]) {
|
||||
optarg = argv[optind];
|
||||
if (optarg)
|
||||
max_payload_size = atousi(optarg, "Max payload size parameter error!");
|
||||
if (!max_payload_size)
|
||||
else
|
||||
max_payload_size = 1200;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user