summaryrefslogtreecommitdiffstats
path: root/test/test_l2xc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_l2xc.py')
-rw-r--r--test/test_l2xc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_l2xc.py b/test/test_l2xc.py
index 2ec4af9288e..8be93e44faa 100644
--- a/test/test_l2xc.py
+++ b/test/test_l2xc.py
@@ -147,7 +147,7 @@ class TestL2xc(VppTestCase):
try:
ip = packet[IP]
udp = packet[UDP]
- payload_info = self.payload_to_info(str(packet[Raw]))
+ payload_info = self.payload_to_info(packet[Raw])
packet_index = payload_info.index
self.assertEqual(payload_info.dst, dst_sw_if_index)
self.logger.debug("Got packet on port %s: src=%u (id=%u)" %