We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b35575 commit a679a58Copy full SHA for a679a58
components/workspacekit/cmd/rings.go
@@ -708,7 +708,7 @@ func makeHostnameLocal(ring2root string) error {
708
newLines = append(newLines, line)
709
continue
710
}
711
- if len(net.ParseIP(fields[0])) != net.IPv4len {
+ if len(net.ParseIP(fields[0]).To4()) != net.IPv4len {
712
713
714
if fields[1] == hostname {
0 commit comments