mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
feat(gpapi): expose connection gateway choices
This commit is contained in:
1 file changed
+4
@@ -105,6 +105,10 @@ impl ConnectInfo {
|
||||
pub fn gateway(&self) -> &Gateway {
|
||||
&self.gateway
|
||||
}
|
||||
|
||||
pub fn gateways(&self) -> &[Gateway] {
|
||||
&self.gateways
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||
|
||||
Reference in new issue
Block a user