Minor comments and ToDo

parent 80dfc2b5
......@@ -11,7 +11,7 @@ import utils.HardwareInfo;
public class NFRTool {
public static void main(String[] args) throws DataClayException, ObjectNotRegisteredException, FileNotFoundException, SocketException {
......
......@@ -85,7 +85,7 @@ public class HardwareInfo {
public float getLinkRTT(String ip) {
try {
//TODO: the netInterfaceName should be obtained from dataClay's infoNature attributes instead of passing it as an argument to HardwareInfo
String cmdStr = "ping -c 1 -w 1 -W 1 -I " + this.netInterfaceName + " " + ip;
Process process = Runtime.getRuntime().exec(cmdStr, env);
StringBuilder output = new StringBuilder();
......
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