Chore: bump to go1.18rc1, use netip.Addr to replace net.IP with system TUN stack

This commit is contained in:
yaling888
2022-03-12 02:16:13 +08:00
parent 8333815e95
commit 8b4f9a35f6
19 changed files with 166 additions and 805 deletions

View File

@ -304,6 +304,7 @@ func updateIPTables(dns *config.DNS, tProxyPort int, interfaceName string, tunEn
}
func Cleanup() {
P.Cleanup()
if runtime.GOOS == "linux" {
tproxy.CleanUpTProxyLinuxIPTables()
}