Browse code

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

- GH #3152

Daniel-Constantin Mierla authored on 28/06/2022 16:41:50
Showing 1 changed files
... ...
@@ -2178,6 +2178,10 @@ int main(int argc, char** argv)
2178 2178
 	init_tcp_options(); /* set the defaults before the config */
2179 2179
 #endif
2180 2180
 
2181
+	if (pv_init_buffer()<0) {
2182
+		goto error;
2183
+	}
2184
+
2181 2185
 	pp_define_core();
2182 2186
 
2183 2187
 	/* process command line (cfg. file path etc) */