Browse Source

core: init pv buffers earlier to be avaialble for cli params

- GH #3152
Daniel-Constantin Mierla 3 years ago
parent
commit
a78adb5340
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main.c

+ 4 - 0
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) */