summaryrefslogtreecommitdiffstats
path: root/test/test_acl_plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_acl_plugin.py')
-rw-r--r--test/test_acl_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_acl_plugin.py b/test/test_acl_plugin.py
index ccf495ced1b..fa92513cbb5 100644
--- a/test/test_acl_plugin.py
+++ b/test/test_acl_plugin.py
@@ -380,10 +380,10 @@ class TestACLplugin(VppTestCase):
# Raw data for ICMPv6 are stored in ICMPv6EchoRequest.data
if traffic_type == self.ICMP and ip_type == self.IPV6:
payload_info = self.payload_to_info(
- packet[ICMPv6EchoRequest].data)
+ packet[ICMPv6EchoRequest], 'data')
payload = packet[ICMPv6EchoRequest]
else:
- payload_info = self.payload_to_info(str(packet[Raw]))
+ payload_info = self.payload_to_info(packet[Raw])
payload = packet[self.proto_map[payload_info.proto]]
except:
self.logger.error(ppp("Unexpected or invalid packet "