diff options
| -rw-r--r-- | mullvad-daemon/src/main.rs | 2 | ||||
| -rw-r--r-- | mullvad-daemon/src/settings.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index 68a487cb7c..2fb27c3048 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -550,7 +550,7 @@ impl Daemon { } fn on_set_enable_ipv6(&mut self, tx: OneshotSender<()>, enable_ipv6: bool) -> Result<()> { - let save_result = self.settings.set_openvpn_enable_ipv6(enable_ipv6); + let save_result = self.settings.set_enable_ipv6(enable_ipv6); match save_result.chain_err(|| "Unable to save settings") { Ok(settings_changed) => { diff --git a/mullvad-daemon/src/settings.rs b/mullvad-daemon/src/settings.rs index 4256735cdf..a51002d782 100644 --- a/mullvad-daemon/src/settings.rs +++ b/mullvad-daemon/src/settings.rs @@ -180,7 +180,7 @@ impl Settings { } } - pub fn set_openvpn_enable_ipv6(&mut self, enable_ipv6: bool) -> Result<bool> { + pub fn set_enable_ipv6(&mut self, enable_ipv6: bool) -> Result<bool> { if self.tunnel_options.openvpn.enable_ipv6 != enable_ipv6 { self.tunnel_options.openvpn.enable_ipv6 = enable_ipv6; self.save().map(|_| true) |
