Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,15 @@ private void checkNetworkReady() {

isReady = true;

StringBuffer ipmsg = new StringBuffer("List NetCardIndex and IP Address:");
StringBuffer ipmsg = new StringBuffer("List NetCardIndex NetCardName and IP Address:");

int index = 0;

for (InetAddress addr : NetworkHelper.getAllIP()) {

ipmsg.append("\n").append(index++).append(" ----- ").append(addr.getHostAddress());
String ip = addr.getHostAddress();

ipmsg.append("\n").append(index++).append(" ----- ").append(NetworkHelper.getNetCardName(ip)).append(" ----- ").append(ip);
}

log.info(this, ipmsg.toString());
Expand Down