Commit 6bb72952 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

show the ip address of host controllers (sadly right now hostname also does this)


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 28f904b0
......@@ -905,8 +905,7 @@ public class NativeJavaExecutor extends BaseExecutor {
tempHost = new HostControllerElement("Host Controller: ");
tempRoot.addHostController(tempHost);
tempHost.setIPAddressInfo(new InformationElement("IP address: " + host.hostname));
//FIXME add support for ip_addr
//tempHost.setIPNumberInfo(new InformationElement("IP number: " + host.ip_addr));
tempHost.setIPNumberInfo(new InformationElement("IP number: " + host.ip_address.getHostAddress()));
tempHost.setHostNameInfo(new InformationElement("Local host name:" + host.hostname_local));
tempHost.setOperatingSystemInfo(new InformationElement(host.system_name + " " + host.system_release + " " + host.system_version));
......
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