fix smoltcp tcp proxy (#157)

1. allow smoltcp proxy with dhcp ip
2. fix smoltcp not work without no tun.
This commit is contained in:
Sijie.Sun
2024-07-07 22:08:50 +08:00
committed by GitHub
parent 24143cbf1c
commit 537f6ecf78
3 changed files with 51 additions and 32 deletions

View File

@@ -212,7 +212,7 @@ and the vpn client is in network of 10.14.14.0/24"
#[arg(
long,
help = "enable smoltcp stack for subnet proxy",
default_value = "true"
default_value = "false"
)]
use_smoltcp: bool,
}