shutdown function

This commit is contained in:
ssrlive 2023-04-14 17:27:37 +08:00 committed by B. Blechschmidt
parent fb3ad33b53
commit 62a04229db
2 changed files with 24 additions and 1 deletions

View file

@ -149,3 +149,7 @@ pub fn main_entry(
}
ttp.run()
}
pub fn shutdown() -> Result<(), Error> {
TunToProxy::shutdown()
}