From d63ef5233e9a7df72855da5351f89f145d6df393 Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Mon, 14 Mar 2016 12:22:02 +0000 Subject: [PATCH] examples/ip_pipeline: fix configuration parser Fixes: 377cd98e0ab6 ("examples/ip_pipeline: add link identification") Signed-off-by: Fan Zhang Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/config_parse.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/ip_pipeline/config_parse.c b/examples/ip_pipeline/config_parse.c index e39c23e05a..152889d55a 100644 --- a/examples/ip_pipeline/config_parse.c +++ b/examples/ip_pipeline/config_parse.c @@ -678,6 +678,8 @@ parse_eal(struct app_params *app, p->pci_blacklist[i] = strdup(entry->value); PARSE_ERROR_MALLOC(p->pci_blacklist[i]); + + break; } PARSE_ERROR_MESSAGE((i < APP_MAX_LINKS), @@ -702,6 +704,8 @@ parse_eal(struct app_params *app, p->pci_whitelist[i] = strdup(entry->value); PARSE_ERROR_MALLOC(p->pci_whitelist[i]); + + break; } PARSE_ERROR_MESSAGE((i < APP_MAX_LINKS), @@ -720,6 +724,8 @@ parse_eal(struct app_params *app, p->vdev[i] = strdup(entry->value); PARSE_ERROR_MALLOC(p->vdev[i]); + + break; } PARSE_ERROR_MESSAGE((i < APP_MAX_LINKS), -- 2.20.1