diff options
| author | David Lönnhager <david.l@mullvad.net> | 2025-04-03 18:50:12 +0200 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2025-04-04 22:15:47 +0200 |
| commit | 3b9bd48e19502095c1b36963e3ee4dace170377b (patch) | |
| tree | 5e6565acc1191ee3828a5b199105e524799235ad | |
| parent | 443e9675f99127ecab5c291986d2cad598d16cbb (diff) | |
| download | mullvadvpn-3b9bd48e19502095c1b36963e3ee4dace170377b.tar.xz mullvadvpn-3b9bd48e19502095c1b36963e3ee4dace170377b.zip | |
Fix typo in example
| -rw-r--r-- | mullvad-masque-proxy/examples/server.rs | 4 | ||||
| -rw-r--r-- | mullvad-masque-proxy/src/server/mod.rs | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/mullvad-masque-proxy/examples/server.rs b/mullvad-masque-proxy/examples/server.rs index f9dfee557f..4142b2d146 100644 --- a/mullvad-masque-proxy/examples/server.rs +++ b/mullvad-masque-proxy/examples/server.rs @@ -22,10 +22,10 @@ pub struct ServerArgs { key_path: PathBuf, /// Allowed IPs - #[arg(long = "alloewd-ip", short = 'a', required = false)] + #[arg(long = "allowed-ip", short = 'a', required = false)] allowed_ips: Vec<IpAddr>, /// Maximums packet size - #[arg(long = "maximum-packet-size", short = 'm', default_value = "1700")] + #[arg(long, short = 'm', default_value = "1700")] maximum_packet_size: u16, } diff --git a/mullvad-masque-proxy/src/server/mod.rs b/mullvad-masque-proxy/src/server/mod.rs index b6d263066a..4f39cce305 100644 --- a/mullvad-masque-proxy/src/server/mod.rs +++ b/mullvad-masque-proxy/src/server/mod.rs @@ -114,7 +114,6 @@ impl Server { Err(err) => { println!("error on accept {}", err); - return; } } } |
