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

@ -146,7 +146,7 @@ mod tests {
}
Ok(Fork::Child) => {
prctl::set_death_signal(signal::SIGKILL as isize).unwrap(); // 9 == SIGKILL
main_entry(
let _ = main_entry(
TUN_TEST_DEVICE,
test.proxy,
Options::new().with_virtual_dns(),