Skip to content

Commit 004d37d

Browse files
committed
fix missiong password and bump the version
1 parent 4552e4a commit 004d37d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ lazy_static = "1.4"
2828
async-trait = "0.1"
2929
byte-pool = { git = "https://github.com/neevek/byte-pool" }
3030
# rstun = { path = "../rstun" }
31-
rstun = { git = "https://github.com/neevek/rstun" }
31+
rstun = { git = "https://github.com/neevek/rstun", tag = "release/0.6.2" }
3232
hyper = { version = "0.14", features = ["full"]}
3333
http = "0.2"
3434
http-body = "0.4"

src/quic/quic_client.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ impl QuicClient {
5454
fn set_config(config: &mut rstun::ClientConfig, quic_client_config: &QuicClientConfig) {
5555
config.server_addr = quic_client_config.server_addr.to_string();
5656
config.mode = rstun::TUNNEL_MODE_OUT;
57+
config.password = quic_client_config.common_cfg.password.clone();
5758
config.cert_path = quic_client_config.common_cfg.cert.clone();
5859
config.cipher = quic_client_config.common_cfg.cipher.clone();
5960
config.max_idle_timeout_ms = quic_client_config.common_cfg.max_idle_timeout_ms;

0 commit comments

Comments
 (0)