mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -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 {
|
pub fn gateway(&self) -> &Gateway {
|
||||||
&self.gateway
|
&self.gateway
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn gateways(&self) -> &[Gateway] {
|
||||||
|
&self.gateways
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Serialize, Deserialize, Clone)]
|
#[derive(Debug, Serialize, Deserialize, Clone)]
|
||||||
|
|||||||
Reference in new issue
Block a user