mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

Support IPv6 address for ETCD_ADDR and ETCD_PEER_ADDR pkg/flags: Support IPv6 address for ETCD_ADDR and ETCD_PEER_ADDR pkg/flags: tests for IPv6 addr and bind-addr flags pkg/flags: IPAddressPort.Host: do not enclose IPv6 address in square brackets pkg/flags: set default bind address to [::] instead of 0.0.0.0 pkg/flags: we don't need fmt any more also, one minor fix: net.JoinHostPort takes string as a port value pkg/flags: fix ipv6 tests pkg/flags: test both IPv4 and IPv6 addresses in TestIPAddressPortString etcdmain: test: use [::] instead of 0.0.0.0
pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.