mirror of https://github.com/F-Stack/f-stack.git
ipfw: should init dpdk before all malloc
Signed-off-by: Ji Bo <jibo@xdja.com>
This commit is contained in:
parent
595de2db4b
commit
896dcc2b9a
|
@ -646,7 +646,7 @@ main(int ac, char *av[])
|
|||
* If the last argument is an absolute pathname, interpret it
|
||||
* as a file to be preprocessed.
|
||||
*/
|
||||
|
||||
ff_ipc_init();
|
||||
if (ac > 1 && av[ac - 1][0] == '/') {
|
||||
if (access(av[ac - 1], R_OK) == 0)
|
||||
ipfw_readfile(ac, av);
|
||||
|
|
Loading…
Reference in New Issue