mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-21 16:41:01 +00:00
refine code
This commit is contained in:
parent
1a5eeece6f
commit
4af656039e
4 changed files with 35 additions and 41 deletions
|
@ -85,5 +85,7 @@ pub fn main_entry(tun: &str, proxy: Proxy) {
|
|||
ttp.add_connection_manager(HttpManager::new(proxy.addr, proxy.credentials));
|
||||
}
|
||||
}
|
||||
ttp.run();
|
||||
if let Err(e) = ttp.run() {
|
||||
log::error!("{e}");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue