diff --git a/Cargo.toml b/Cargo.toml index 3e38971..bc1f39a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ num-derive = "0.3" pretty-hex = "0.2" sea-orm = { version = "0.3", features = [ "sqlx-all", "runtime-async-std-native-tls" ] } hostname = "0.3" -local-ip-address = "0.4" +#local-ip-address = "0.4" chrono = "0.4" rand = "0.8" diff --git a/src/server/dispatch_server.rs b/src/server/dispatch_server.rs index f1f8c60..67e7a1b 100644 --- a/src/server/dispatch_server.rs +++ b/src/server/dispatch_server.rs @@ -630,8 +630,8 @@ impl DispatchServer { } fn get_local_ip() -> String { - return local_ip_address::local_ip().unwrap().to_string(); - //return "127.0.0.1".to_string(); + //return local_ip_address::local_ip().unwrap().to_string(); + return "127.0.0.1".to_string(); } fn load_keys(name: &str) -> (Vec, Vec) {