mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 14:56:47 +00:00
chore: ignore ipv6 check when get interface addrs failed
This commit is contained in:
1 parent
cfdaebe952
commit
6bffbdd9d3
1 file changed
+4
@@ -155,6 +155,10 @@ func verifyIP6() bool {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// eg: Calling net.InterfaceAddrs() fails on Android SDK 30
|
||||
// https://github.com/golang/go/issues/40569
|
||||
return true // just ignore
|
||||
}
|
||||
return false
|
||||
}
|
||||
Reference in new issue
Block a user