Skip to content

Commit

Permalink
fix missiong password and bump the version
Browse files Browse the repository at this point in the history
  • Loading branch information
neevek committed Nov 23, 2024
1 parent 4552e4a commit cfb07a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "omnip"
version = "0.6.0"
version = "0.6.1"
edition = "2021"

[lib]
Expand Down Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions src/quic/quic_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cfb07a5

Please sign in to comment.