diff options
| author | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-10-18 13:17:25 +0200 |
|---|---|---|
| committer | Markus Pettersson <markus.pettersson@mullvad.net> | 2023-10-20 10:17:23 +0200 |
| commit | b8ad94a30d3e630410b74dc71e4f9f74412cd91c (patch) | |
| tree | c2528273b936b9a5029e3ccd7c92342950c8a352 /mullvad-cli/src/cmds | |
| parent | 94b3b7419a6990b020ad4412e4fb5bfcb3800fc8 (diff) | |
| download | mullvadvpn-b8ad94a30d3e630410b74dc71e4f9f74412cd91c.tar.xz mullvadvpn-b8ad94a30d3e630410b74dc71e4f9f74412cd91c.zip | |
`remote_port` is no longer optional
This allow us to move the `remote_port` argument next to the `remote_ip` argument.
Diffstat (limited to 'mullvad-cli/src/cmds')
| -rw-r--r-- | mullvad-cli/src/cmds/api_access.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mullvad-cli/src/cmds/api_access.rs b/mullvad-cli/src/cmds/api_access.rs index 213e12c35b..da7d1047e9 100644 --- a/mullvad-cli/src/cmds/api_access.rs +++ b/mullvad-cli/src/cmds/api_access.rs @@ -272,11 +272,10 @@ pub enum AddCustomCommands { name: String, /// The IP of the remote Shadowsocks-proxy remote_ip: IpAddr, - /// Password for authentication - password: String, /// Port on which the remote Shadowsocks-proxy listens for traffic - #[arg(default_value = "443")] remote_port: u16, + /// Password for authentication + password: String, /// Cipher to use #[arg(value_parser = SHADOWSOCKS_CIPHERS, default_value = "aes-256-gcm")] cipher: String, |
