Skip to content

Commit 7db208d

Browse files
authored
Fix backwards check for Linux IPv6 module
1 parent 0ec4079 commit 7db208d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/downloader/downloadercfg/downloadercfg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ func getIpv6Enabled() bool {
359359
return false
360360
}
361361
fileContent := strings.TrimSpace(string(file))
362-
return fileContent != "0"
362+
return fileContent == "0"
363363
}
364364

365365
// TODO hotfix: for platforms other than linux disable ipv6

0 commit comments

Comments
 (0)