File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
library/src/main/java/com/stealthcopter/networktools Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 5454
5555 <Button
5656 android : id =" @+id/wolButton"
57- android : layout_width =" 0dp "
57+ android : layout_width =" wrap_content "
5858 android : layout_height =" wrap_content"
59- android : layout_weight =" 1"
6059 android : text =" @string/wol"
6160 />
6261 <Button
Original file line number Diff line number Diff line change @@ -72,19 +72,16 @@ public static PortScan onAddress(@NonNull InetAddress ia) {
7272 if (IPTools .isIpAddressLocalhost (ia )){
7373 // If we are scanning a the localhost set the timeout to be very short so we get faster results
7474 // This will be overridden if user calls setTimeoutMillis manually.
75- Log .e ("TESTING" , "FOUND LOCALHOST" );
7675 portScan .timeOutMillis = TIMEOUT_LOCALHOST ;
7776 portScan .noThreads = DEFAULT_THREADS_LOCALHOST ;
7877 }
7978 else if (IPTools .isIpAddressLocalNetwork (ia )){
8079 // Assume local network (not infallible)
81- Log .e ("TESTING" , "FOUND LOCALNETWORK" );
8280 portScan .timeOutMillis = TIMEOUT_LOCALNETWORK ;
8381 portScan .noThreads = DEFAULT_THREADS_LOCALNETWORK ;
8482 }
8583 else {
8684 // Assume remote network timeouts
87- Log .e ("TESTING" , "FOUND REMOTE" );
8885 portScan .timeOutMillis = TIMEOUT_REMOTE ;
8986 portScan .noThreads = DEFAULT_THREADS_REMOTE ;
9087 }
You can’t perform that action at this time.
0 commit comments