We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed46a47 commit 83aad83Copy full SHA for 83aad83
pkg/services/govmomi/ipam/parse.go
@@ -54,7 +54,7 @@ func parseAddressWithPrefix(ipamAddress *ipamv1.IPAddress) (netip.Prefix, error)
54
// family must match the other addresses of the same family. IPv4 Gateways are
55
// required, but IPv6 gateways are not.
56
func parseGateway(ipamAddress *ipamv1.IPAddress, addressWithPrefix netip.Prefix, ipamDeviceConfig ipamDeviceConfig) (*netip.Addr, error) {
57
- if ipamAddress.Spec.Gateway == "" && addressWithPrefix.Addr().Is6() {
+ if ipamAddress.Spec.Gateway == "" {
58
return nil, nil
59
}
60
0 commit comments