Skip to content

Commit b334e8d

Browse files
committed
supress ipv6 warning if ipv6 is enabled
1 parent 88ba365 commit b334e8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shared/services/config/rocket-pool-config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ func (cfg *RocketPoolConfig) GetExternalIp() string {
13581358
return ""
13591359
}
13601360

1361-
if ip.To4() == nil {
1361+
if ip.To4() == nil && !cfg.IsIPv6Enabled() {
13621362
fmt.Println("Warning: external IP address is v6; if you're using Nimbus or Besu, it may have trouble finding peers:")
13631363
}
13641364

0 commit comments

Comments
 (0)