pingTime = " (" + (int) peerNodeStatus.getAveragePingTime() + "ms / " +
(int) peerNodeStatus.getAveragePingTimeCorrected()+"ms)";
}
HTMLNode addressRow = peerRow.addChild("td", "class", "peer-address");
// Ip to country + Flags
IPConverter ipc = IPConverter.getInstance(node.runDir().file(NodeUpdateManager.IPV4_TO_COUNTRY_FILENAME));
byte[] addr = peerNodeStatus.getPeerAddressBytes();
Country country = ipc.locateIP(addr);
if(country != null) {
country.renderFlagIcon(addressRow);
}
addressRow.addChild("#", ((peerNodeStatus.getPeerAddress() != null) ? (peerNodeStatus.getPeerAddress() + ':' + peerNodeStatus.getPeerPort()) : (l10n("unknownAddress"))) + pingTime);