Skip to content

Commit

Permalink
https://github.com/uavorg/uavstack/issues/466
Browse files Browse the repository at this point in the history
1.输出所有网卡信息时加入网卡名
  • Loading branch information
xiaolong committed Dec 28, 2018
1 parent d15c921 commit a7d0f42
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ private void checkNetworkReady() {

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

0 comments on commit a7d0f42

Please sign in to comment.