summaryrefslogtreecommitdiffstats
path: root/test/test_ip_mcast.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ip_mcast.py')
-rw-r--r--test/test_ip_mcast.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ip_mcast.py b/test/test_ip_mcast.py
index f7a50825d81..d7a8238e35b 100644
--- a/test/test_ip_mcast.py
+++ b/test/test_ip_mcast.py
@@ -100,7 +100,7 @@ class TestIPMcast(VppTestCase):
UDP(sport=1234, dport=1234))
if not payload_size:
payload_size = 64 - len(p)
- p = p / Raw('\xa5' * payload_size)
+ p = p / Raw(b'\xa5' * payload_size)
for i in range(0, N_PKTS_IN_STREAM):
pkts.append(p)
@@ -847,7 +847,7 @@ class TestIPMcast(VppTestCase):
GRE() /
IP(src="1.1.1.1", dst="232.2.2.2") /
UDP(sport=1234, dport=1234) /
- Raw('\a5' * 64)) * 63
+ Raw(b'\a5' * 64)) * 63
self.vapi.cli("clear trace")
self.pg1.add_stream(tx)