diff options
| author | Joakim Hulthe <joakim@hulthe.net> | 2024-07-05 16:25:32 +0200 |
|---|---|---|
| committer | Joakim Hulthe <joakim@hulthe.net> | 2024-07-16 15:46:33 +0200 |
| commit | 71ef4709732d9b0ba052d957a6483c743d5746aa (patch) | |
| tree | 14dc9da32f3e8ae0249a4b4109eb086b939b7a4e /test/test-runner/src/main.rs | |
| parent | 28a3776b3a7a35c4e1f964e9dcb9c4698afd7a68 (diff) | |
| download | mullvadvpn-71ef4709732d9b0ba052d957a6483c743d5746aa.tar.xz mullvadvpn-71ef4709732d9b0ba052d957a6483c743d5746aa.zip | |
Add E2E test of CVE-2019-14899 mitigation
Diffstat (limited to 'test/test-runner/src/main.rs')
| -rw-r--r-- | test/test-runner/src/main.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/test-runner/src/main.rs b/test/test-runner/src/main.rs index 79e11e0506..3fe91fb723 100644 --- a/test/test-runner/src/main.rs +++ b/test/test-runner/src/main.rs @@ -233,6 +233,14 @@ impl Service for TestServer { net::get_interface_mtu(&interface) } + async fn get_interface_mac( + self, + _: context::Context, + interface: String, + ) -> Result<Option<[u8; 6]>, test_rpc::Error> { + net::get_interface_mac(&interface) + } + async fn get_default_interface(self, _: context::Context) -> Result<String, test_rpc::Error> { Ok(net::get_default_interface().to_owned()) } |
