diff --git a/Cargo.lock b/Cargo.lock index c88d398..3e87cb5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -564,7 +564,7 @@ dependencies = [ [[package]] name = "common" -version = "2.1.0" +version = "2.1.1" dependencies = [ "is_executable", ] @@ -1430,7 +1430,7 @@ dependencies = [ [[package]] name = "gpapi" -version = "2.1.0" +version = "2.1.1" dependencies = [ "anyhow", "base64 0.21.5", @@ -1462,7 +1462,7 @@ dependencies = [ [[package]] name = "gpauth" -version = "2.1.0" +version = "2.1.1" dependencies = [ "anyhow", "clap", @@ -1482,7 +1482,7 @@ dependencies = [ [[package]] name = "gpclient" -version = "2.1.0" +version = "2.1.1" dependencies = [ "anyhow", "clap", @@ -1504,7 +1504,7 @@ dependencies = [ [[package]] name = "gpgui-helper" -version = "2.1.0" +version = "2.1.1" dependencies = [ "anyhow", "clap", @@ -1522,7 +1522,7 @@ dependencies = [ [[package]] name = "gpservice" -version = "2.1.0" +version = "2.1.1" dependencies = [ "anyhow", "axum", @@ -2527,7 +2527,7 @@ dependencies = [ [[package]] name = "openconnect" -version = "2.1.0" +version = "2.1.1" dependencies = [ "cc", "common", diff --git a/Cargo.toml b/Cargo.toml index d35029e..0a37e76 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ members = ["crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/g [workspace.package] rust-version = "1.70" -version = "2.1.0" +version = "2.1.1" authors = ["Kevin Yue "] homepage = "https://github.com/yuezk/GlobalProtect-openconnect" edition = "2021" diff --git a/apps/gpclient/src/connect.rs b/apps/gpclient/src/connect.rs index cab99df..639501b 100644 --- a/apps/gpclient/src/connect.rs +++ b/apps/gpclient/src/connect.rs @@ -169,7 +169,7 @@ impl<'a> ConnectHandler<'a> { async fn connect_gateway(&self, gateway: &str, cookie: &str) -> anyhow::Result<()> { let mtu = self.args.mtu.unwrap_or(0); let csd_uid = get_csd_uid(&self.args.csd_user)?; - let csd_wrapper = if self.args.csd_user.is_some() { + let csd_wrapper = if self.args.csd_wrapper.is_some() { self.args.csd_wrapper.clone() } else if self.args.hip { find_csd_wrapper() diff --git a/changelog.md b/changelog.md index 1c2dcd3..e6f2f3d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2.1.1 - 2024-03-25 + +- Add the `--hip` option to enable HIP report +- Fix not working in OpenSuse 15.5 (fix #336, #322) +- Treat portal as gateway when the gateway login is failed (fix #338) +- Improve the error message (fix #327) + ## 2.1.0 - 2024-02-27 - Update distribution channel for `gpgui` to complaint with the GPL-3 license.