ArgProxy issues

This commit is contained in:
ssrlive 2024-02-11 12:36:36 +08:00
parent 5514da71f9
commit 9f60eee2e1
3 changed files with 19 additions and 2 deletions

View file

@ -18,7 +18,7 @@ pub(crate) fn tun2proxy_internal_run(args: Args, tun_mtu: u16) -> c_int {
}
let block = async move {
log::info!("Proxy {} server: {}", args.proxy.proxy_type, args.proxy.addr);
log::info!("Proxying {}", args.proxy);
let mut config = tun2::Configuration::default();
config.raw_fd(args.tun_fd.ok_or(crate::Error::from("tun_fd"))?);