diff options
| author | Joakim Hulthe <joakim.hulthe@mullvad.net> | 2025-09-15 11:20:53 +0200 |
|---|---|---|
| committer | Joakim Hulthe <joakim.hulthe@mullvad.net> | 2025-09-15 11:20:53 +0200 |
| commit | 23fccfb8f7fc901405bbc141d9ea0472a1f08ce2 (patch) | |
| tree | fedf61e730dd31a3b768a5a8af47960541c80ba6 /test/test-runner | |
| parent | 12bb6552e49e19510b3272f8d3d1f0c6277236ff (diff) | |
| parent | 2aedc93c417ee8af682a8f5bae09ee42552fbfcb (diff) | |
| download | mullvadvpn-23fccfb8f7fc901405bbc141d9ea0472a1f08ce2.tar.xz mullvadvpn-23fccfb8f7fc901405bbc141d9ea0472a1f08ce2.zip | |
Merge branch 'add-test-that-ipv6-in-the-tunnel-works-as-expected-on-des-1088'
Diffstat (limited to 'test/test-runner')
| -rw-r--r-- | test/test-runner/src/net.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-runner/src/net.rs b/test/test-runner/src/net.rs index 967d3c8c32..fe100f22c7 100644 --- a/test/test-runner/src/net.rs +++ b/test/test-runner/src/net.rs @@ -308,7 +308,7 @@ pub fn get_interface_mtu(interface_name: &str) -> Result<u16, test_rpc::Error> { // TODO: define SIOCGIFMTU for macos // SAFETY: SIOCGIFMTU expects an ifreq, and the socket is valid - if unsafe { libc::ioctl(sock.as_raw_fd(), libc::SIOCGIFMTU, &mut ifr) } < 0 { + if unsafe { libc::ioctl(sock.as_raw_fd(), libc::SIOCGIFMTU as libc::Ioctl, &mut ifr) } < 0 { let e = std::io::Error::last_os_error(); log::error!("{}", e); |
