summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAnand B Jyoti <anand.b.jyoti@intel.com>2017-10-11 10:39:51 +0530
committerAnand B Jyoti <anand.b.jyoti@intel.com>2017-10-12 07:15:37 +0530
commit3531f205d7931cfbc381b28225dbf9f91e3df5df (patch)
treec0b028168dc9e3011422e273c6807edee769cd2a /common
parent48413cdea74b0fedfde4dac00951100b7d32580a (diff)
arp: Config parameters longer than PIPELINE_MAX_ARGS chars ignored
JIRA: SAMPLEVNF-86 Due to this KW fix the arp pipeline is rejecting the commands greater than PIPELINE_MAX_ARGS size. This is seen in arp_route_tbl which can is becoming bigger in case of multi port setup. This patch undo the KW fix which is causing issue with longer parameters under ARPICMP pipeline. Change-Id: I96ba3882b5fecc6ac2f7b75f11a63083b847bba5 Signed-off-by: Anand B Jyoti <anand.b.jyoti@intel.com>
Diffstat (limited to 'common')
-rw-r--r--common/VIL/l2l3_stack/lib_arp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/VIL/l2l3_stack/lib_arp.c b/common/VIL/l2l3_stack/lib_arp.c
index 39a740dd..5d78d9ba 100644
--- a/common/VIL/l2l3_stack/lib_arp.c
+++ b/common/VIL/l2l3_stack/lib_arp.c
@@ -2124,11 +2124,6 @@ static int arp_parse_args(struct pipeline_params *params)
RTE_SET_USED(arp_route_tbl_present);
for (numArg = 0; numArg < params->n_args; numArg++) {
- if(strlen(params->args_value[numArg]) > PIPELINE_MAX_ARGS) {
- /* KW Fix */
- printf("WARNING: Non-Null terminated Parameter not processed\n");
- continue;
- }
char *arg_name = params->args_name[numArg];
char *arg_value = params->args_value[numArg];