Files
nomad/.changelog/20324.txt
Tim Gross 8eaf176868 client: fix IPv6 parsing for client.servers block (#20324)
When the `client.servers` block is parsed, we split the port from the
address. This does not correctly handle IPv6 addresses when they are in URL
format (wrapped in brackets), which we require to disambiguate the port and
address.

Fix the parser to correctly split out the port and handle a missing port value
for IPv6. Update the documentation to make the URL format requirement clear.

Fixes: https://github.com/hashicorp/nomad/issues/20310
2024-04-08 15:06:27 -04:00

4 lines
125 B
Plaintext

```release-note:bug
config: Fixed a bug where IPv6 addresses were not accepted without ports for `client.servers` blocks
```