mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-18 22:16:18 -05:00
Add tunnel statistics and an optional CLI dashboard, native sign-in controls and recovery, and broader client certificate support. Include platform integration fixes and the approved release notes.
10 lines
256 B
Rust
10 lines
256 B
Rust
use openconnect::{Vpn, VpnBuilder};
|
|
|
|
use crate::connect::ConnectArgs;
|
|
|
|
pub(crate) fn builder(server: &str, cookie: &str, args: &ConnectArgs) -> VpnBuilder {
|
|
Vpn::builder(server, cookie)
|
|
.script(args.script.clone())
|
|
.script_tun(args.script_tun)
|
|
}
|