diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-06-11 18:43:09 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-06-11 18:43:09 +0000 |
| commit | 109e1b525dc96fd2d523dbc41c018ee975030e82 (patch) | |
| tree | c33556b56380515caca0219f49e4f2f69bb3dcb8 /openstack/common/network_utils.py | |
| parent | 165b98415d3949f8a9dddbdbc1f304fb7d257718 (diff) | |
| parent | 7119e29cb535426c587eaf2cfc2cfcd11a422df0 (diff) | |
| download | oslo-109e1b525dc96fd2d523dbc41c018ee975030e82.tar.gz oslo-109e1b525dc96fd2d523dbc41c018ee975030e82.tar.xz oslo-109e1b525dc96fd2d523dbc41c018ee975030e82.zip | |
Merge "Enable hacking H404 test."
Diffstat (limited to 'openstack/common/network_utils.py')
| -rw-r--r-- | openstack/common/network_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack/common/network_utils.py b/openstack/common/network_utils.py index fc7b9a8..0527ab9 100644 --- a/openstack/common/network_utils.py +++ b/openstack/common/network_utils.py @@ -26,8 +26,8 @@ LOG = logging.getLogger(__name__) def parse_host_port(address, default_port=None): - """ - Interpret a string as a host:port pair. + """Interpret a string as a host:port pair. + An IPv6 address MUST be escaped if accompanied by a port, because otherwise ambiguity ensues: 2001:db8:85a3::8a2e:370:7334 means both [2001:db8:85a3::8a2e:370:7334] and |
