diff --git a/pkg/utils/idutils/id_utils.go b/pkg/utils/idutils/id_utils.go index 3693b99154f1e5db76c8abcaf8c7859636dc7670..7c42984a56872f8cf9971adcc8a15ea82ec8b10c 100644 --- a/pkg/utils/idutils/id_utils.go +++ b/pkg/utils/idutils/id_utils.go @@ -114,6 +114,9 @@ func IPv4() (net.IP, error) { } ip := ipnet.IP.To4() + if ip == nil { + continue + } return ip, nil }