From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 251CF39EA for ; Mon, 14 Mar 2016 13:22:05 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 14 Mar 2016 05:22:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,335,1455004800"; d="scan'208";a="936622255" Received: from sie-lab-212-033.ir.intel.com (HELO silpixa00383881.ir.intel.com) ([10.237.212.33]) by fmsmga002.fm.intel.com with ESMTP; 14 Mar 2016 05:22:04 -0700 From: Fan Zhang To: dev@dpdk.org Date: Mon, 14 Mar 2016 12:22:02 +0000 Message-Id: <1457958122-20136-2-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1457958122-20136-1-git-send-email-roy.fan.zhang@intel.com> References: <1457958122-20136-1-git-send-email-roy.fan.zhang@intel.com> Subject: [dpdk-dev] [PATCH] examples/ip_pipeline: fix configuration parser X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2016 12:22:05 -0000 Fixes: 377cd98e ("example/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 e39c23e..152889d 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.5.0