Formatting fail

This commit is contained in:
Daniel Goldberg 2019-11-03 14:51:33 -05:00
parent 37704e3eeb
commit 0044eb393b
1 changed files with 2 additions and 3 deletions

View File

@ -182,8 +182,7 @@ class InfectionMonkey(object):
monkey_tunnel.set_tunnel_for_host(machine)
if self._default_server:
if self._network.on_island(self._default_server):
machine.set_default_server(get_interface_to_target(machine.ip_addr) +
(
machine.set_default_server(get_interface_to_target(machine.ip_addr) + (
':' + self._default_server_port if self._default_server_port else ''))
else:
machine.set_default_server(self._default_server)