diff --git a/Cargo.lock b/Cargo.lock index ffb9ccd..d477cc4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1179,7 +1179,7 @@ dependencies = [ [[package]] name = "omnip" -version = "0.6.0" +version = "0.6.1" dependencies = [ "android_logger", "anyhow", @@ -1500,7 +1500,7 @@ dependencies = [ [[package]] name = "rstun" version = "0.6.1" -source = "git+https://github.com/neevek/rstun#65646c94052f041792790a5a3a45ad35df6371c8" +source = "git+https://github.com/neevek/rstun?tag=release/0.6.2#ec1a175f43b8f012e29d9edd27d1aebc29c5749d" dependencies = [ "android_logger", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 1188b30..816ce5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "omnip" -version = "0.6.0" +version = "0.6.1" edition = "2021" [lib] @@ -28,7 +28,7 @@ lazy_static = "1.4" async-trait = "0.1" byte-pool = { git = "https://github.com/neevek/byte-pool" } # rstun = { path = "../rstun" } -rstun = { git = "https://github.com/neevek/rstun" } +rstun = { git = "https://github.com/neevek/rstun", tag = "release/0.6.2" } hyper = { version = "0.14", features = ["full"]} http = "0.2" http-body = "0.4" diff --git a/src/quic/quic_client.rs b/src/quic/quic_client.rs index e1a9b0e..e2000de 100644 --- a/src/quic/quic_client.rs +++ b/src/quic/quic_client.rs @@ -54,6 +54,7 @@ impl QuicClient { fn set_config(config: &mut rstun::ClientConfig, quic_client_config: &QuicClientConfig) { config.server_addr = quic_client_config.server_addr.to_string(); config.mode = rstun::TUNNEL_MODE_OUT; + config.password = quic_client_config.common_cfg.password.clone(); config.cert_path = quic_client_config.common_cfg.cert.clone(); config.cipher = quic_client_config.common_cfg.cipher.clone(); config.max_idle_timeout_ms = quic_client_config.common_cfg.max_idle_timeout_ms;