mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
fix: resolve gateway route using the parsed hostname
This commit is contained in:
1 file changed
+1
-1
@@ -101,7 +101,7 @@ impl GatewayLoginClient {
|
||||
context
|
||||
.client_ip()
|
||||
.map(str::to_owned)
|
||||
.or_else(|| detect_local_ipv4(context.host()))
|
||||
.or_else(|| self.origin.host_str().and_then(detect_local_ipv4))
|
||||
});
|
||||
let request = receive_gateway_login(
|
||||
&self.origin,
|
||||
|
||||
Reference in new issue
Block a user