mirror of
https://github.com/slackhq/nebula.git
synced 2026-04-01 05:45:19 +02:00
oops
This commit is contained in:
@@ -439,11 +439,7 @@ func (c *certificateV2) validate() error {
|
|||||||
if !hasV6Networks {
|
if !hasV6Networks {
|
||||||
return NewErrInvalidCertificateProperties("IPv6 unsafe networks require an IPv6 address assignment: %s", network)
|
return NewErrInvalidCertificateProperties("IPv6 unsafe networks require an IPv6 address assignment: %s", network)
|
||||||
}
|
}
|
||||||
} else if network.Addr().Is4() {
|
} // as long as we have any IP address, IPv4 UnsafeNetworks are allowed
|
||||||
if !hasV4Networks {
|
|
||||||
//return NewErrInvalidCertificateProperties("IPv4 unsafe networks require an IPv4 address assignment: %s", network)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user