Skip to content
Snippets Groups Projects
Commit 292cf932 authored by Moul's avatar Moul
Browse files

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

parent e84b5506
No related branches found
No related tags found
1 merge request!85#42: Retrieve informations once and use them in the whole program
Pipeline #3547 failed
...@@ -80,6 +80,8 @@ class EndPoint(object): ...@@ -80,6 +80,8 @@ class EndPoint(object):
ep["domain"], ep["port"] = cli_args.get_definition('p').rsplit(':', 1) ep["domain"], ep["port"] = cli_args.get_definition('p').rsplit(':', 1)
else: else:
ep["domain"], ep["port"] = G1_TEST_DEFAULT_ENDPOINT if cli_args.contains_switches("gtest") else G1_DEFAULT_ENDPOINT 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 self.ep = ep
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment