added host name support

This commit is contained in:
jomu
2017-10-10 15:41:26 +00:00
parent d17b681025
commit b798e014dd

View File

@ -26,7 +26,7 @@ public class PortScannerTest {
openPorts++;
}
}
System.out.println("There are " + openPorts + " open ports on host " + portScanner.getTimeout() + " (probed with a timeout of "
System.out.println("There are " + openPorts + " open ports on host " + portScanner.getHost()+ " (probed with a timeout of "
+ portScanner.getTimeout() + "ms)");
}