From 896dcc2b9aa15351396e3a9c5dfa194f1298ea06 Mon Sep 17 00:00:00 2001 From: Ji Bo Date: Tue, 21 Nov 2017 14:32:00 +0800 Subject: [PATCH] ipfw: should init dpdk before all malloc Signed-off-by: Ji Bo --- tools/ipfw/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ipfw/main.c b/tools/ipfw/main.c index e8cb3d12..e771a0bb 100644 --- a/tools/ipfw/main.c +++ b/tools/ipfw/main.c @@ -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);