mirror of
https://github.com/v2fly/v2ray-core
synced 2024-02-27 03:18:06 +00:00
fix a typo in local dns
This commit is contained in:
@@ -26,7 +26,7 @@ func (*Client) LookupIP(host string) ([]net.IP, error) {
|
||||
return nil, err
|
||||
}
|
||||
parsedIPs := make([]net.IP, 0, len(ips))
|
||||
for _, ip := range parsedIPs {
|
||||
for _, ip := range ips {
|
||||
parsed := net.IPAddress(ip)
|
||||
if parsed != nil {
|
||||
parsedIPs = append(parsedIPs, parsed.IP())
|
||||
|
||||
Reference in New Issue
Block a user