summaryrefslogtreecommitdiffstats
path: root/src/plugins/nat/test/test_pnat.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/nat/test/test_pnat.py')
-rw-r--r--src/plugins/nat/test/test_pnat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/test/test_pnat.py b/src/plugins/nat/test/test_pnat.py
index 5e52fa9f135..d5b60050691 100644
--- a/src/plugins/nat/test/test_pnat.py
+++ b/src/plugins/nat/test/test_pnat.py
@@ -93,10 +93,10 @@ class TestPNAT(VppTestCase):
'rewrite': {'mask': 0xa, 'dst': self.pg1.remote_ip4,
'dport': 5555},
'send': (IP(src=self.pg0.remote_ip4, dst='10.10.10.10') /
- UDP(dport=6871)),
+ UDP(sport=65530, dport=6871)),
'reply': (IP(src=self.pg0.remote_ip4,
dst=self.pg1.remote_ip4) /
- UDP(dport=5555))
+ UDP(sport=65530, dport=5555))
},
{
'input': PNAT_IP4_INPUT,