summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2023-09-08 15:27:53 +0200
committerDavid Lönnhager <david.l@mullvad.net>2023-09-11 16:40:37 +0200
commit8452b97d4e9545f2574ebbd9c7545ff76189a9ed (patch)
treee446034746fd3efb92b56c6c1f083837a5c79ca1
parent717256a5e4e53fab0f503a7b454ee3a0f9e10b9d (diff)
downloadmullvadvpn-8452b97d4e9545f2574ebbd9c7545ff76189a9ed.tar.xz
mullvadvpn-8452b97d4e9545f2574ebbd9c7545ff76189a9ed.zip
Fix incorrect comment about SetInterfaceDnsSettings
-rw-r--r--talpid-core/src/dns/windows/iphlpapi.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/talpid-core/src/dns/windows/iphlpapi.rs b/talpid-core/src/dns/windows/iphlpapi.rs
index 9fe4b3bfc4..2d62e1860e 100644
--- a/talpid-core/src/dns/windows/iphlpapi.rs
+++ b/talpid-core/src/dns/windows/iphlpapi.rs
@@ -81,7 +81,8 @@ impl IphlpApi {
}
// This function is loaded at runtime since it may be unavailable. See the module-level docs.
- // TODO: `windows_sys` can be used directly when support for Windows 10, 2004, is dropped.
+ // TODO: `windows_sys` can be used directly when support for versions older than Windows 10,
+ // 2004, is dropped.
let set_interface_dns_settings =
unsafe { GetProcAddress(module, s!("SetInterfaceDnsSettings")) };
let set_interface_dns_settings = set_interface_dns_settings.ok_or_else(|| {