GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Merge pull request #467 from xxxllluuu/master · zvrr/uavstack@8fa7762

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • com.creditease.uav.base/src/main/java/com/creditease/agent
    • SystemStarter.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎com.creditease.uav.base/src/main/java/com/creditease/agent/SystemStarter.java‎

Copy file name to clipboardExpand all lines: com.creditease.uav.base/src/main/java/com/creditease/agent/SystemStarter.java
+4-2Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,15 @@ private void checkNetworkReady() {
197197

198198
isReady = true;
199199

200-
StringBuffer ipmsg = new StringBuffer("List NetCardIndex and IP Address:");
200+
StringBuffer ipmsg = new StringBuffer("List NetCardIndex NetCardName and IP Address:");
201201

202202
int index = 0;
203203

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

206-
ipmsg.append("\n").append(index++).append(" ----- ").append(addr.getHostAddress());
206+
String ip = addr.getHostAddress();
207+
208+
ipmsg.append("\n").append(index++).append(" ----- ").append(NetworkHelper.getNetCardName(ip)).append(" ----- ").append(ip);
207209
}
208210

209211
log.info(this, ipmsg.toString());

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.