mirror of
https://github.com/ValdikSS/GoodbyeDPI
synced 2025-08-30 22:05:10 +00:00
Allow to set --max-payload to zero
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user