summaryrefslogtreecommitdiffstats
path: root/test/test_ip4_irb.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_ip4_irb.py')
-rw-r--r--test/test_ip4_irb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ip4_irb.py b/test/test_ip4_irb.py
index 8c3830c2d81..9b762aa0248 100644
--- a/test/test_ip4_irb.py
+++ b/test/test_ip4_irb.py
@@ -152,7 +152,7 @@ class TestIpIrb(VppTestCase):
for packet in capture:
ip = packet[IP]
udp = packet[IP][UDP]
- payload_info = self.payload_to_info(str(packet[IP][UDP][Raw]))
+ payload_info = self.payload_to_info(packet[IP][UDP][Raw])
self.assertEqual(payload_info.dst, dst_ip_sw_if_index)
@@ -188,7 +188,7 @@ class TestIpIrb(VppTestCase):
for packet in capture:
ip = packet[IP]
udp = packet[IP][UDP]
- payload_info = self.payload_to_info(str(packet[IP][UDP][Raw]))
+ payload_info = self.payload_to_info(packet[IP][UDP][Raw])
packet_index = payload_info.index
self.assertEqual(payload_info.dst, dst_ip_sw_if_index)