diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-12-22 12:55:36 +0100 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2024-01-08 09:03:52 +0100 |
| commit | 10c990ee1d296970ecd60fbde0ce147ca922ec99 (patch) | |
| tree | 1b32cb7780fb1ec32fa6468241838b2b43d5702f /mullvad-cli | |
| parent | 1bcf0ef542af225747fcaa3a6fcebd0819d82f0c (diff) | |
| download | mullvadvpn-10c990ee1d296970ecd60fbde0ce147ca922ec99.tar.xz mullvadvpn-10c990ee1d296970ecd60fbde0ce147ca922ec99.zip | |
Add new internal daemon event `AccessMethodEvent`
Add a new `InternalDaemonEvent` for announcing when the current API
access method changes.
Diffstat (limited to 'mullvad-cli')
| -rw-r--r-- | mullvad-cli/src/cmds/status.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mullvad-cli/src/cmds/status.rs b/mullvad-cli/src/cmds/status.rs index 5bed82b4c0..15b0d10dfe 100644 --- a/mullvad-cli/src/cmds/status.rs +++ b/mullvad-cli/src/cmds/status.rs @@ -75,6 +75,11 @@ impl Status { println!("Remove device event: {device:#?}"); } } + DaemonEvent::NewAccessMethod(access_method) => { + if args.debug { + println!("New access method: {access_method:#?}"); + } + } } } Ok(()) |
