summaryrefslogtreecommitdiffhomepage
path: root/mullvad-cli/src
diff options
context:
space:
mode:
authorMarkus Pettersson <markus.pettersson@mullvad.net>2023-10-18 13:17:25 +0200
committerMarkus Pettersson <markus.pettersson@mullvad.net>2023-10-20 10:17:23 +0200
commitb8ad94a30d3e630410b74dc71e4f9f74412cd91c (patch)
treec2528273b936b9a5029e3ccd7c92342950c8a352 /mullvad-cli/src
parent94b3b7419a6990b020ad4412e4fb5bfcb3800fc8 (diff)
downloadmullvadvpn-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')
-rw-r--r--mullvad-cli/src/cmds/api_access.rs5
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,