Remove erronious IsGlobalUnicast check. (#845)

Fixes the issue raised at https://www.boundaryproject.io/docs/configuration/worker#complete-configuration-example
pull/846/head
Jeff Mitchell 5 years ago committed by GitHub
parent 7cade6f8aa
commit 6580d85388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,6 +14,9 @@ Canonical reference for changes, improvements, and bugfixes for Boundary.
([PR](https://github.com/hashicorp/boundary/pull/815))
### Bug Fixes
* servers: Fix erronious global unicast check that disallowed valid addresses
from being assigned ([PR](https://github.com/hashicorp/boundary/pull/845))
## 0.1.3

@ -264,8 +264,6 @@ func (c *Command) Run(args []string) int {
errMsg = "an unspecified"
case ip.IsMulticast():
errMsg = "a multicast"
case ip.IsGlobalUnicast():
errMsg = "a global unicast"
}
if errMsg != "" {
c.UI.Error(fmt.Sprintf("Controller address %q is invalid: cannot be %s address", controller, errMsg))

Loading…
Cancel
Save