mirror of
https://github.com/slackhq/nebula.git
synced 2026-03-09 08:11:29 -07:00
oops
This commit is contained in:
parent
879b77d076
commit
ae1b501468
1 changed files with 1 additions and 5 deletions
|
|
@ -439,11 +439,7 @@ func (c *certificateV2) validate() error {
|
|||
if !hasV6Networks {
|
||||
return NewErrInvalidCertificateProperties("IPv6 unsafe networks require an IPv6 address assignment: %s", network)
|
||||
}
|
||||
} else if network.Addr().Is4() {
|
||||
if !hasV4Networks {
|
||||
//return NewErrInvalidCertificateProperties("IPv4 unsafe networks require an IPv4 address assignment: %s", network)
|
||||
}
|
||||
}
|
||||
} // as long as we have any IP address, IPv4 UnsafeNetworks are allowed
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue