From a78adb5340ae6cb57f756189d070c32c49bfa426 Mon Sep 17 00:00:00 2001 From: Daniel-Constantin Mierla Date: Tue, 28 Jun 2022 18:41:50 +0200 Subject: [PATCH] core: init pv buffers earlier to be avaialble for cli params - GH #3152 --- src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.c b/src/main.c index e919a232740..c6855e20334 100644 --- a/src/main.c +++ b/src/main.c @@ -2178,6 +2178,10 @@ int main(int argc, char** argv) init_tcp_options(); /* set the defaults before the config */ #endif + if (pv_init_buffer()<0) { + goto error; + } + pp_define_core(); /* process command line (cfg. file path etc) */