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-rpc/src/lib.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-rpc/src/lib.rs')
| -rw-r--r-- | test/test-rpc/src/lib.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test-rpc/src/lib.rs b/test/test-rpc/src/lib.rs index 82fed91541..cc263b845e 100644 --- a/test/test-rpc/src/lib.rs +++ b/test/test-rpc/src/lib.rs @@ -187,6 +187,9 @@ mod service { /// Returns the MTU of the given interface. async fn get_interface_mtu(interface: String) -> Result<u16, Error>; + /// Returns the MAC address of the given interface. + async fn get_interface_mac(interface: String) -> Result<Option<[u8; 6]>, Error>; + /// Returns the name of the default interface. async fn get_default_interface() -> Result<String, Error>; |
