summaryrefslogtreecommitdiffstats
path: root/test/patches
diff options
context:
space:
mode:
Diffstat (limited to 'test/patches')
-rw-r--r--test/patches/scapy-2.4.3/issue42580.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/patches/scapy-2.4.3/issue42580.patch b/test/patches/scapy-2.4.3/issue42580.patch
new file mode 100644
index 00000000000..1269cb985d7
--- /dev/null
+++ b/test/patches/scapy-2.4.3/issue42580.patch
@@ -0,0 +1,19 @@
+*** a/scapy/arch/bpf/core.py.orig 2022-02-02 16:25:51.475845472 +0000
+--- b/scapy/arch/bpf/core.py 2022-02-02 16:26:11.868800941 +0000
+***************
+*** 28,34 ****
+
+ # ctypes definitions
+
+! LIBC = cdll.LoadLibrary(find_library("libc"))
+ LIBC.ioctl.argtypes = [c_int, c_ulong, c_char_p]
+ LIBC.ioctl.restype = c_int
+
+--- 28,34 ----
+
+ # ctypes definitions
+
+! LIBC = cdll.LoadLibrary(find_library("c"))
+ LIBC.ioctl.argtypes = [c_int, c_ulong, c_char_p]
+ LIBC.ioctl.restype = c_int
+