summaryrefslogtreecommitdiffstats
path: root/test/test_ip6_nd_mirror_proxy.py
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2024-07-23 01:28:19 -0400
committerBeno�t Ganne <bganne@cisco.com>2024-08-07 09:15:17 +0000
commitcf9356d642ce131c6562fcd281c01e51af888ec3 (patch)
tree8a57da79b102ee9a6c4fa3d8c834591ddfdbaff0 /test/test_ip6_nd_mirror_proxy.py
parent0a3b0b231d8d2978c3322cc5ba8e1d2746a6d730 (diff)
tests: update scapy to version 2.4.5
- Required for Ubuntu 24.04 LTS jobs - temporarily disable TestIpsecEsp1 and TestIpsecAhAll tests until a patch can be added to fix them Type: test Change-Id: I1ae7b170117182c3252629bbbb770775e2c496c9 Signed-off-by: Benoît Ganne <bganne@cisco.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test/test_ip6_nd_mirror_proxy.py')
-rw-r--r--test/test_ip6_nd_mirror_proxy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_ip6_nd_mirror_proxy.py b/test/test_ip6_nd_mirror_proxy.py
index 10dc77e1a86..e94309e8b50 100644
--- a/test/test_ip6_nd_mirror_proxy.py
+++ b/test/test_ip6_nd_mirror_proxy.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python3
import unittest
-from socket import inet_pton, inet_ntop
+from socket import inet_pton, inet_ntop, AF_INET6
from framework import VppTestCase
from asfframework import VppTestRunner
@@ -59,8 +59,8 @@ class TestNDPROXY(VppTestCase):
# will come from the VPP's own address.
#
addr = self.pg0.remote_ip6
- nsma = in6_getnsma(inet_pton(socket.AF_INET6, addr))
- d = inet_ntop(socket.AF_INET6, nsma)
+ nsma = in6_getnsma(inet_pton(AF_INET6, addr))
+ d = inet_ntop(AF_INET6, nsma)
# Make pg1 un-numbered to pg0
#