This ensures that brackets are added for IPv6 addresses. Without this, This could result in addresses like "2001:db8::1:3456", which - obviously - would break further down and prevent the server from starting. Signed-off-by: Christoph Heiss <christoph@c8h4.io> |
||
|---|---|---|
| .. | ||
| testdata | ||
| server.go | ||
| server_test.go | ||