use IP address as name if couldn't get hostname of client

Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn>
Change-Id: Icec7fd938f7646ec1ff7f502816e0948ae973d24
diff --git a/app/src/main/java/org/exthmui/softap/SoftApManageService.java b/app/src/main/java/org/exthmui/softap/SoftApManageService.java
index 46b577a..880774c 100644
--- a/app/src/main/java/org/exthmui/softap/SoftApManageService.java
+++ b/app/src/main/java/org/exthmui/softap/SoftApManageService.java
@@ -304,7 +304,7 @@
             InetAddress inetAddress = InetAddress.getByAddress(ipBuffer);
             client.setName(inetAddress.getHostName());
         } catch (UnknownHostException e) {
-            // do nothing
+            client.setName(ips[0]);
         }
     }