summaryrefslogtreecommitdiffhomepage
path: root/talpid-routing/src
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-02-19 10:07:28 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-02-19 15:28:02 +0100
commit07bf94820842bd3a034ca4e9b32641d7ef1c5e78 (patch)
treeee442db468190aeccc151ed21749024f04b1b265 /talpid-routing/src
parent9c9b384adb6f3b7bc719c3a9f9c56f5ff8da4ceb (diff)
downloadmullvadvpn-07bf94820842bd3a034ca4e9b32641d7ef1c5e78.tar.xz
mullvadvpn-07bf94820842bd3a034ca4e9b32641d7ef1c5e78.zip
Fix redundant imports
Diffstat (limited to 'talpid-routing/src')
-rw-r--r--talpid-routing/src/windows/route_manager.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/talpid-routing/src/windows/route_manager.rs b/talpid-routing/src/windows/route_manager.rs
index f0fa53126b..60ef984d08 100644
--- a/talpid-routing/src/windows/route_manager.rs
+++ b/talpid-routing/src/windows/route_manager.rs
@@ -38,7 +38,6 @@ use windows_sys::Win32::{
};
type Network = IpNetwork;
-type NodeAddress = SOCKADDR_INET;
/// Callback handle for the default route changed callback. Produced by the RouteManager.
pub struct CallbackHandle {
@@ -84,12 +83,6 @@ impl PartialEq for RegisteredRoute {
}
#[derive(Clone)]
-pub struct Node {
- pub device_name: Option<widestring::U16CString>,
- pub gateway: Option<NodeAddress>,
-}
-
-#[derive(Clone)]
pub struct Route {
pub network: Network,
pub node: NetNode,