SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
Detect ipv6 addresses
nivekuil0fe9d2997b62
diff --git a/weed/util/network.go b/weed/util/network.goindex 55a123667c..a3ea82330c 100644--- a/weed/util/network.go+++ b/weed/util/network.go@@ -24,7 +24,7 @@ func DetectedHostAddress() string {for _, a := range addrs {if ipNet, ok := a.(*net.IPNet); ok && !ipNet.IP.IsLoopback() {- if ipNet.IP.To4() != nil {+ if ipNet.IP.To4() != nil || ipNet.IP.To16() != nil {return ipNet.IP.String()}}