aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_ip4.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ip4.py')
-rw-r--r--test/test_ip4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_ip4.py b/test/test_ip4.py
index f4b428df4d3..150ea629308 100644
--- a/test/test_ip4.py
+++ b/test/test_ip4.py
@@ -1456,7 +1456,7 @@ class TestIPLoadBalance(VppTestCase):
src_pkts.append(
(
Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac)
- / IP(dst="1.1.1.1", src="20.0.0.%d" % ii)
+ / IP(dst="1.1.1.1", src="20.0.0.%d" % (ii % 256))
/ UDP(sport=1234, dport=1234)
/ Raw(b"\xa5" * 100)
)