test suite reviews and discussions
 help / color / mirror / Atom feed
From: Herbert Guan <herbert.guan@arm.com>
To: dts@dpdk.org
Cc: Herbert Guan <herbert.guan@arm.com>
Subject: [dts] [PATCH] tests/vxlan: correct the attribute name of UDP object
Date: Fri, 15 Dec 2017 13:58:59 +0800	[thread overview]
Message-ID: <1513317539-19231-1-git-send-email-herbert.guan@arm.com> (raw)

outer[UDP] does not have attributes of 'dst'/'src', but has 'dport'
'sport' instead.  This patch corrects this typo.

Signed-off-by: Herbert Guan <herbert.guan@arm.com>
---
 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

             reply	other threads:[~2017-12-15  5:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-15  5:58 Herbert Guan [this message]
2018-01-03 16:00 ` Liu, Yong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513317539-19231-1-git-send-email-herbert.guan@arm.com \
    --to=herbert.guan@arm.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).