mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-03-26 01:53:57 +03:00
Fix: fix tun local addr
This commit is contained in:
parent
0e245b8936
commit
9936a9469d
@ -46,7 +46,7 @@ func Start(fd int, gateway, portal, dns string) (io.Closer, error) {
|
||||
continue
|
||||
}
|
||||
|
||||
lAddr := conn.RemoteAddr().(*net.TCPAddr)
|
||||
lAddr := conn.LocalAddr().(*net.TCPAddr)
|
||||
rAddr := conn.RemoteAddr().(*net.TCPAddr)
|
||||
|
||||
if ipv4LoopBack.Contains(rAddr.IP) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user