feat(cli,app): filter out ipv6 adresses for url resolving
This commit is contained in:
parent
2543386e5c
commit
78307b6850
@ -367,7 +367,11 @@ func findMatchingDeviceAddress(ctx context.Context, from string, defaultAddr str
|
||||
continue
|
||||
}
|
||||
|
||||
return ip.String(), nil
|
||||
if ip.To4() == nil {
|
||||
continue
|
||||
}
|
||||
|
||||
return ip.To4().String(), nil
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user