diff options
| author | David Lönnhager <david.l@mullvad.net> | 2022-06-08 14:04:31 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2022-06-14 13:59:51 +0200 |
| commit | dc80e6b604d33b0ff1ea8139ba5728996ddafbf2 (patch) | |
| tree | c481ca06a587086dca585caf0ea74f3a7551d65d /mullvad-daemon/src | |
| parent | 15346dbc719a8b0c70720235ea23e117342c7708 (diff) | |
| download | mullvadvpn-dc80e6b604d33b0ff1ea8139ba5728996ddafbf2.tar.xz mullvadvpn-dc80e6b604d33b0ff1ea8139ba5728996ddafbf2.zip | |
Return a handle for fetching excluded processes instead of using a tunnel command
Diffstat (limited to 'mullvad-daemon/src')
| -rw-r--r-- | mullvad-daemon/src/lib.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs index b6a7d55955..95039cd662 100644 --- a/mullvad-daemon/src/lib.rs +++ b/mullvad-daemon/src/lib.rs @@ -1682,7 +1682,13 @@ where &self, tx: ResponseTx<Vec<split_tunnel::ExcludedProcess>, split_tunnel::Error>, ) { - self.send_tunnel_command(TunnelCommand::GetExcludedProcesses(tx)); + Self::oneshot_send( + tx, + self.tunnel_state_machine_handle + .split_tunnel() + .get_processes(), + "get_split_tunnel_processes response", + ); } #[cfg(windows)] |
