mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-21 16:41:01 +00:00
shutdown function
This commit is contained in:
parent
fb3ad33b53
commit
62a04229db
2 changed files with 24 additions and 1 deletions
|
@ -149,3 +149,7 @@ pub fn main_entry(
|
|||
}
|
||||
ttp.run()
|
||||
}
|
||||
|
||||
pub fn shutdown() -> Result<(), Error> {
|
||||
TunToProxy::shutdown()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue