We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 241a606 + 14706a7 commit 8fa7762Copy full SHA for 8fa7762
1 file changed
com.creditease.uav.base/src/main/java/com/creditease/agent/SystemStarter.java
@@ -197,13 +197,15 @@ private void checkNetworkReady() {
197
198
isReady = true;
199
200
- StringBuffer ipmsg = new StringBuffer("List NetCardIndex and IP Address:");
+ StringBuffer ipmsg = new StringBuffer("List NetCardIndex NetCardName and IP Address:");
201
202
int index = 0;
203
204
for (InetAddress addr : NetworkHelper.getAllIP()) {
205
206
- ipmsg.append("\n").append(index++).append(" ----- ").append(addr.getHostAddress());
+ String ip = addr.getHostAddress();
207
+
208
+ ipmsg.append("\n").append(index++).append(" ----- ").append(NetworkHelper.getNetCardName(ip)).append(" ----- ").append(ip);
209
}
210
211
log.info(this, ipmsg.toString());
0 commit comments