From 1cfd2b1b9f98e03e8dde5a0ce8c10d32308dda1f Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Mon, 10 Jan 2022 08:32:10 +0300 Subject: [PATCH] Allow to set --max-payload to zero --- src/goodbyedpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/goodbyedpi.c b/src/goodbyedpi.c index b8e5a82..8fa7313 100644 --- a/src/goodbyedpi.c +++ b/src/goodbyedpi.c @@ -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: