mirror of https://github.com/F-Stack/f-stack.git
Merge pull request #103 from tigerjibo/master
ipfw: should init dpdk before all malloc
This commit is contained in:
commit
c598cee34c
|
@ -646,7 +646,7 @@ main(int ac, char *av[])
|
||||||
* If the last argument is an absolute pathname, interpret it
|
* If the last argument is an absolute pathname, interpret it
|
||||||
* as a file to be preprocessed.
|
* as a file to be preprocessed.
|
||||||
*/
|
*/
|
||||||
|
ff_ipc_init();
|
||||||
if (ac > 1 && av[ac - 1][0] == '/') {
|
if (ac > 1 && av[ac - 1][0] == '/') {
|
||||||
if (access(av[ac - 1], R_OK) == 0)
|
if (access(av[ac - 1], R_OK) == 0)
|
||||||
ipfw_readfile(ac, av);
|
ipfw_readfile(ac, av);
|
||||||
|
|
Loading…
Reference in New Issue