From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.101.70]) by dpdk.org (Postfix) with ESMTP id 8689A239 for ; Fri, 15 Dec 2017 06:59:17 +0100 (CET) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 95CAC80D; Thu, 14 Dec 2017 21:59:16 -0800 (PST) Received: from lenovo-a010984.shanghai.arm.com (lenovo-a010984.shanghai.arm.com [10.169.40.44]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1C0693F236; Thu, 14 Dec 2017 21:59:15 -0800 (PST) From: Herbert Guan To: dts@dpdk.org Cc: Herbert Guan Date: Fri, 15 Dec 2017 13:58:59 +0800 Message-Id: <1513317539-19231-1-git-send-email-herbert.guan@arm.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH] tests/vxlan: correct the attribute name of UDP object X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 05:59:17 -0000 outer[UDP] does not have attributes of 'dst'/'src', but has 'dport' 'sport' instead. This patch corrects this typo. Signed-off-by: Herbert Guan --- tests/TestSuite_vxlan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestSuite_vxlan.py b/tests/TestSuite_vxlan.py index 7c70e30..b1f6f10 100644 --- a/tests/TestSuite_vxlan.py +++ b/tests/TestSuite_vxlan.py @@ -168,8 +168,8 @@ class VxlanTestConfig(object): outer[outer_l3.name].src = self.outer_ip_src outer[outer_l3.name].dst = self.outer_ip_dst - outer[UDP].src = self.outer_udp_src - outer[UDP].dst = self.outer_udp_dst + outer[UDP].sport = self.outer_udp_src + outer[UDP].dport = self.outer_udp_dst if self.outer_ip_invalid == 1: outer[outer_l3.name].chksum = 0 -- 1.8.3.1