diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2023-09-05 13:14:46 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2023-09-05 13:14:46 +0200 |
| commit | 3b7ddae6fb8fccc0aecb2da5deb326cb0ba89fc3 (patch) | |
| tree | c70a414441718115a5506332fcfd858bb83f4ab2 /mullvad-api | |
| parent | 7444ac28c93fbdc6cfbbae648fa19eec70e57077 (diff) | |
| parent | 057c2e9c9cf1561fb9db3c7c560ef0144b545a0c (diff) | |
| download | mullvadvpn-3b7ddae6fb8fccc0aecb2da5deb326cb0ba89fc3.tar.xz mullvadvpn-3b7ddae6fb8fccc0aecb2da5deb326cb0ba89fc3.zip | |
Merge branch 'remove-forwarded-ports-code'
Diffstat (limited to 'mullvad-api')
| -rw-r--r-- | mullvad-api/src/device.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mullvad-api/src/device.rs b/mullvad-api/src/device.rs index d48e1245b6..585e863ccf 100644 --- a/mullvad-api/src/device.rs +++ b/mullvad-api/src/device.rs @@ -2,7 +2,7 @@ use chrono::{DateTime, Utc}; use http::{Method, StatusCode}; use mullvad_types::{ account::AccountToken, - device::{Device, DeviceId, DeviceName, DevicePort}, + device::{Device, DeviceId, DeviceName}, }; use std::future::Future; use talpid_types::net::wireguard; @@ -23,7 +23,6 @@ struct DeviceResponse { pubkey: wireguard::PublicKey, ipv4_address: ipnetwork::Ipv4Network, ipv6_address: ipnetwork::Ipv6Network, - ports: Vec<DevicePort>, hijack_dns: bool, created: DateTime<Utc>, } @@ -73,7 +72,6 @@ impl DevicesProxy { pubkey, ipv4_address, ipv6_address, - ports, hijack_dns, created, .. @@ -84,7 +82,6 @@ impl DevicesProxy { id, name, pubkey, - ports, hijack_dns, created, }, |
