summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon/src
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-08-06 09:14:10 +0200
committerDavid Lönnhager <david.l@mullvad.net>2024-08-06 10:26:17 +0200
commitaade03ffb92dfe9b82d8cc7b2da823bb767dc41e (patch)
tree11408af4249f4523121ef8d72a4c909c315cbb1d /mullvad-daemon/src
parentef5a1be0af0d447a13fd8cdebca62b81cb6e262e (diff)
downloadmullvadvpn-aade03ffb92dfe9b82d8cc7b2da823bb767dc41e.tar.xz
mullvadvpn-aade03ffb92dfe9b82d8cc7b2da823bb767dc41e.zip
Add comment for temporary code
Diffstat (limited to 'mullvad-daemon/src')
-rw-r--r--mullvad-daemon/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs
index 7db4a5079f..db86abda54 100644
--- a/mullvad-daemon/src/lib.rs
+++ b/mullvad-daemon/src/lib.rs
@@ -2641,6 +2641,10 @@ impl Daemon {
let result = self.settings.reset().await;
Self::oneshot_send(tx, result, "reset_settings response");
+ // TODO: All of the functions below should probably be handled by settings observers
+ // whenever settings are updated. For instance, changing "allow_lan" should probably
+ // cause a tunnel command to be sent.
+
#[cfg(any(target_os = "windows", target_os = "macos", target_os = "android"))]
{
let (tx, _rx) = oneshot::channel();