diff --git a/monkey/monkey_island/cc/ui/src/components/attack/techniques/Helpers.js b/monkey/monkey_island/cc/ui/src/components/attack/techniques/Helpers.js index 95820b82f..7d6b3b10b 100644 --- a/monkey/monkey_island/cc/ui/src/components/attack/techniques/Helpers.js +++ b/monkey/monkey_island/cc/ui/src/components/attack/techniques/Helpers.js @@ -14,7 +14,9 @@ export function renderMachineFromSystemData(data) { machineStr = data['hostname'] + ' ( '; } data['ips'].forEach(function (ipInfo) { - if (typeof ipInfo === 'object') { + if (ipInfo instanceof Array) { + machineStr += ipInfo.join(', ') + ', '; + } else if (typeof ipInfo === 'object') { machineStr += ipInfo['addr'] + ', '; } else { machineStr += ipInfo + ', ';