Bare minimum to remove dependency on WAN address

This commit is contained in:
mcarlton00 2019-08-31 16:02:31 -04:00
parent 5944e47efa
commit 6a31d01e50
3 changed files with 0 additions and 8 deletions

View file

@ -53,9 +53,6 @@ class LogHandler(logging.StreamHandler):
if server.get('LocalAddress'): if server.get('LocalAddress'):
self.sensitive['Server'].append(server['LocalAddress'].split('://')[1]) self.sensitive['Server'].append(server['LocalAddress'].split('://')[1])
if server.get('RemoteAddress'):
self.sensitive['Server'].append(server['RemoteAddress'].split('://')[1])
if server.get('ManualAddress'): if server.get('ManualAddress'):
self.sensitive['Server'].append(server['ManualAddress'].split('://')[1]) self.sensitive['Server'].append(server['ManualAddress'].split('://')[1])

View file

@ -599,8 +599,6 @@ class ConnectionManager(object):
if system_info.get('LocalAddress'): if system_info.get('LocalAddress'):
server['LocalAddress'] = system_info['LocalAddress'] server['LocalAddress'] = system_info['LocalAddress']
if system_info.get('WanAddress'):
server['RemoteAddress'] = system_info['WanAddress']
if 'MacAddress' in system_info: if 'MacAddress' in system_info:
server['WakeOnLanInfos'] = [{'MacAddress': system_info['MacAddress']}] server['WakeOnLanInfos'] = [{'MacAddress': system_info['MacAddress']}]

View file

@ -99,9 +99,6 @@ class Credentials(object):
if server.get('ExchangeToken'): if server.get('ExchangeToken'):
existing['ExchangeToken'] = server['ExchangeToken'] existing['ExchangeToken'] = server['ExchangeToken']
if server.get('RemoteAddress'):
existing['RemoteAddress'] = server['RemoteAddress']
if server.get('ManualAddress'): if server.get('ManualAddress'):
existing['ManualAddress'] = server['ManualAddress'] existing['ManualAddress'] = server['ManualAddress']