Skip to content

Commit 085c8b4

Browse files
authored
Update Endpoint.java
1 parent ce3185f commit 085c8b4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

cSploit/src/main/java/org/csploit/android/net/Endpoint.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,14 @@ public Endpoint(String address){
5858
}
5959

6060
public Endpoint(InetAddress address, byte[] hardware){
61+
try{
6162
mAddress = address;
6263
mHardware = Arrays.copyOf(hardware, hardware.length);
64+
}
65+
catch(Exeption e){
66+
System.errorLogging(e);
67+
mAddress = null;
68+
}
6369
}
6470

6571
public Endpoint(String address, String hardware){

0 commit comments

Comments
 (0)