refine TunToProxy struct

This commit is contained in:
ssrlive 2023-03-24 09:27:31 +08:00
parent 7dec7f59f1
commit ad388f897a
5 changed files with 41 additions and 40 deletions

View file

@ -47,5 +47,7 @@ fn main() {
options = options.with_virtual_dns();
}
main_entry(&args.tun, args.proxy, options);
if let Err(e) = main_entry(&args.tun, args.proxy, options) {
log::error!("{e}");
}
}