From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <roy.fan.zhang@intel.com> Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 872C439EA for <dev@dpdk.org>; Mon, 14 Mar 2016 13:22:04 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP; 14 Mar 2016 05:22:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,335,1455004800"; d="scan'208";a="936622218" 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:03 -0700 From: Fan Zhang <roy.fan.zhang@intel.com> To: dev@dpdk.org Date: Mon, 14 Mar 2016 12:22:01 +0000 Message-Id: <1457958122-20136-1-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PATCH] app/test/test_table_acl: fix incorrect IP header X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK <dev.dpdk.org> List-Unsubscribe: <http://dpdk.org/ml/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://dpdk.org/ml/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <http://dpdk.org/ml/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> X-List-Received-Date: Mon, 14 Mar 2016 12:22:04 -0000 This patch fixes the incorrect IP header in ACL table test. Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> --- app/test/test_table_acl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test/test_table_acl.c b/app/test/test_table_acl.c index 38e3a8e..2fc5f24 100644 --- a/app/test/test_table_acl.c +++ b/app/test/test_table_acl.c @@ -1,7 +1,7 @@ /*- * BSD LICENSE * - * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. + * Copyright(c) 2010-2016 Intel Corporation. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -45,7 +45,9 @@ **/ struct ipv4_5tuple { + uint8_t ttl; uint8_t proto; + uint16_t checksum; uint32_t ip_src; uint32_t ip_dst; uint16_t port_src; -- 2.5.0