diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-08-27 14:51:20 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-08-28 09:19:47 +0200 |
| commit | 27c4644edb0021900116b0ede1d1802ccdd60b15 (patch) | |
| tree | 1d31d3264b04404970dde1ee74ef356ad9e43538 /mullvad-cli | |
| parent | a6496e1db4ae11e0c6750bb94c48a297b12a4242 (diff) | |
| download | mullvadvpn-27c4644edb0021900116b0ede1d1802ccdd60b15.tar.xz mullvadvpn-27c4644edb0021900116b0ede1d1802ccdd60b15.zip | |
Replace `unsafe` calls to C-functions with `Direction::want_pktap`
Use the safe `pcap` function `Direction::want_pktap` to initialize the
packet capture in the macOS split tunnel implemenation. This replaces
parts of our auto-generated FFI to interface with `libpcap`, thus
getting rid of some use of `unsafe`.
Diffstat (limited to 'mullvad-cli')
0 files changed, 0 insertions, 0 deletions
