Mise à jour effectuée, merci de nous signaler tout dysfonctionnement ! | Upgrade done, please let us know about any dysfunction!

Commit 292cf932 authored by Moul's avatar Moul
Browse files

[fix] #42: add back IPv6 format handling.

parent e84b5506
......@@ -80,6 +80,8 @@ class EndPoint(object):
ep["domain"], ep["port"] = cli_args.get_definition('p').rsplit(':', 1)
else:
ep["domain"], ep["port"] = G1_TEST_DEFAULT_ENDPOINT if cli_args.contains_switches("gtest") else G1_DEFAULT_ENDPOINT
if ep["domain"].startswith('[') and ep["domain"].endswith(']'):
ep["domain"] = ep["domain"][1:-1]
self.ep = ep
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment