Andrew Yourtchenko | a472031 | 2022-02-02 19:32:18 +0000 | [diff] [blame] | 1 | *** a/scapy/arch/bpf/core.py.orig 2022-02-02 16:25:51.475845472 +0000 |
| 2 | --- b/scapy/arch/bpf/core.py 2022-02-02 16:26:11.868800941 +0000 |
| 3 | *************** |
| 4 | *** 28,34 **** |
| 5 | |
| 6 | # ctypes definitions |
| 7 | |
| 8 | ! LIBC = cdll.LoadLibrary(find_library("libc")) |
| 9 | LIBC.ioctl.argtypes = [c_int, c_ulong, c_char_p] |
| 10 | LIBC.ioctl.restype = c_int |
| 11 | |
| 12 | --- 28,34 ---- |
| 13 | |
| 14 | # ctypes definitions |
| 15 | |
| 16 | ! LIBC = cdll.LoadLibrary(find_library("c")) |
| 17 | LIBC.ioctl.argtypes = [c_int, c_ulong, c_char_p] |
| 18 | LIBC.ioctl.restype = c_int |
| 19 | |