Changes to be committed:
modified: src/main.rs
This commit is contained in:
parent
ea55c94907
commit
37deeae594
@ -98,7 +98,7 @@ async fn main() {
|
|||||||
} else {
|
} else {
|
||||||
if let Some(vpn_server_ip) = matches.value_of("vpn-server") {
|
if let Some(vpn_server_ip) = matches.value_of("vpn-server") {
|
||||||
let server_address = format!("{}:8879", vpn_server_ip);
|
let server_address = format!("{}:8879", vpn_server_ip);
|
||||||
tcp_client::client_mode(server_address).await;
|
client::client_mode(server_address).await;
|
||||||
} else {
|
} else {
|
||||||
eprintln!("Error: For client mode, you shall provide the '--vpn-server' argument.");
|
eprintln!("Error: For client mode, you shall provide the '--vpn-server' argument.");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user