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 004d37d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
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 004d37d

Please sign in to comment.