Skip to content

Commit

Permalink
Fix printing arguments in the wrong order
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Sep 21, 2023
1 parent e04f413 commit eb7db04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mullvad-api/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ impl fmt::Display for ProxyConfig {
ProxyConfig::Shadowsocks(ss) => write!(f, "Shadowsocks {}/TCP", ss.peer),
ProxyConfig::Socks(socks) => match socks {
access_method::Socks5::Local(s) => {
write!(f, "Socks5 {}/TCP via localhost:{}", s.port, s.peer)
write!(f, "Socks5 {}/TCP via localhost:{}", s.peer, s.port)
}
access_method::Socks5::Remote(s) => write!(f, "Socks5 {}/TCP", s.peer),
},
Expand Down

0 comments on commit eb7db04

Please sign in to comment.