From 5d4b8912d2fe186b4fb920a72b3a2f7b556f4e7d Mon Sep 17 00:00:00 2001 From: snaramre Date: Fri, 13 Dec 2019 23:39:35 +0000 Subject: tests: changes for scapy 2.4.3 migration Type: fix Change-Id: I7e041b666dabd90df23a920a1f1d99db4c10ddfe Signed-off-by: snaramre --- src/plugins/acl/test/test_acl_plugin_macip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/acl/test') diff --git a/src/plugins/acl/test/test_acl_plugin_macip.py b/src/plugins/acl/test/test_acl_plugin_macip.py index e1393696875..0f178a36b69 100644 --- a/src/plugins/acl/test/test_acl_plugin_macip.py +++ b/src/plugins/acl/test/test_acl_plugin_macip.py @@ -442,7 +442,7 @@ class MethodHolder(VppTestCase): packet /= UDP(sport=src_port, dport=dst_port)/Raw(payload) - packet[Raw].load += b" mac:%s" % scapy.compat.raw(src_mac) + packet[Raw].load += b" mac:%s" % src_mac.encode('utf-8') size = self.pg_if_packet_sizes[p % len(self.pg_if_packet_sizes)] if isinstance(src_if, VppSubInterface): -- cgit 1.2.3-korg