Changes to be committed:
modified: src/client.rs
This commit is contained in:
parent
1b85269454
commit
870b0b0739
@ -25,10 +25,10 @@ fn configure_routes(endpoint_ip: &str, s_interface: Option<&str>) {
|
|||||||
.min_by(|x, y| x.index.cmp(&y.index))
|
.min_by(|x, y| x.index.cmp(&y.index))
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
info!("Main network interface: {:?}", &net_inter.name);
|
|
||||||
|
|
||||||
let inter_name = if s_interface.is_some() { s_interface.unwrap() } else { &net_inter.name };
|
let inter_name = if s_interface.is_some() { s_interface.unwrap() } else { &net_inter.name };
|
||||||
|
|
||||||
|
info!("Main network interface: {:?}", &net_inter.name);
|
||||||
|
|
||||||
let mut ip_output = Command::new("sudo")
|
let mut ip_output = Command::new("sudo")
|
||||||
.arg("ip")
|
.arg("ip")
|
||||||
.arg("-4")
|
.arg("-4")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user