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/gbp/test/test_gbp.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/gbp') diff --git a/src/plugins/gbp/test/test_gbp.py b/src/plugins/gbp/test/test_gbp.py index ab4e3a59abd..5038237106b 100644 --- a/src/plugins/gbp/test/test_gbp.py +++ b/src/plugins/gbp/test/test_gbp.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from socket import AF_INET, AF_INET6 +from socket import AF_INET, AF_INET6, inet_pton, inet_ntop import unittest from ipaddress import ip_address, IPv4Network, IPv6Network @@ -12,7 +12,6 @@ from scapy.layers.inet6 import IPv6, ICMPv6ND_NS, ICMPv6NDOptSrcLLAddr, \ from scapy.utils6 import in6_getnsma, in6_getnsmac from scapy.layers.vxlan import VXLAN from scapy.data import ETH_P_IP, ETH_P_IPV6, ETH_P_ARP -from scapy.utils import inet_pton, inet_ntop from framework import VppTestCase, VppTestRunner from vpp_object import VppObject -- cgit 1.2.3-korg