diff options
author | snaramre <snaramre@cisco.com> | 2019-12-13 23:39:35 +0000 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-12-14 22:14:12 +0000 |
commit | 5d4b8912d2fe186b4fb920a72b3a2f7b556f4e7d (patch) | |
tree | 4530f71a783679e3566ed501471cbad481c128d7 /test/vpp_pg_interface.py | |
parent | aa72578637e2a346ee845545b2e26aad83e12192 (diff) |
tests: changes for scapy 2.4.3 migration
Type: fix
Change-Id: I7e041b666dabd90df23a920a1f1d99db4c10ddfe
Signed-off-by: snaramre <snaramre@cisco.com>
Diffstat (limited to 'test/vpp_pg_interface.py')
-rwxr-xr-x | test/vpp_pg_interface.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/vpp_pg_interface.py b/test/vpp_pg_interface.py index e5926fac509..b7f1881d516 100755 --- a/test/vpp_pg_interface.py +++ b/test/vpp_pg_interface.py @@ -1,6 +1,6 @@ import os import time -import socket +from socket import inet_pton, inet_ntop import struct from traceback import format_exc, format_stack @@ -15,7 +15,6 @@ from scapy.layers.inet6 import IPv6, ICMPv6ND_NS, ICMPv6ND_NA,\ IPv6ExtHdrHopByHop from util import ppp, ppc from scapy.utils6 import in6_getnsma, in6_getnsmac, in6_ismaddr -from scapy.utils import inet_pton, inet_ntop class CaptureTimeoutError(Exception): |