Commit 081d4eea authored by legton's avatar legton
Browse files

SCRUM#526: add .local to _server attribute in the server side

parent 1aae1626
Pipeline #16059 passed with stages
in 9 minutes and 59 seconds
...@@ -152,7 +152,7 @@ class LEEpoptes_control(object): ...@@ -152,7 +152,7 @@ class LEEpoptes_control(object):
self.update_server('pre_server',server) self.update_server('pre_server',server)
else: else:
self.update_server('server',socket.gethostname()) self.update_server('server',socket.gethostname()+".local")
return server return server
...@@ -194,7 +194,7 @@ class LEEpoptes_control(object): ...@@ -194,7 +194,7 @@ class LEEpoptes_control(object):
server = self.conn.epoptes_get_attribute('_server') server = self.conn.epoptes_get_attribute('_server')
if status == 'pre_server': if status == 'pre_server':
self.update_server('server',socket.gethostname()) self.update_server('server',socket.gethostname()+".local")
elif status == 'client': elif status == 'client':
''' '''
Check if the server that disconnected is the one that this Check if the server that disconnected is the one that this
......
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