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 54
54
55
55
<Button
56
56
android : id =" @+id/wolButton"
57
- android : layout_width =" 0dp "
57
+ android : layout_width =" wrap_content "
58
58
android : layout_height =" wrap_content"
59
- android : layout_weight =" 1"
60
59
android : text =" @string/wol"
61
60
/>
62
61
<Button
Original file line number Diff line number Diff line change @@ -72,19 +72,16 @@ public static PortScan onAddress(@NonNull InetAddress ia) {
72
72
if (IPTools .isIpAddressLocalhost (ia )){
73
73
// If we are scanning a the localhost set the timeout to be very short so we get faster results
74
74
// This will be overridden if user calls setTimeoutMillis manually.
75
- Log .e ("TESTING" , "FOUND LOCALHOST" );
76
75
portScan .timeOutMillis = TIMEOUT_LOCALHOST ;
77
76
portScan .noThreads = DEFAULT_THREADS_LOCALHOST ;
78
77
}
79
78
else if (IPTools .isIpAddressLocalNetwork (ia )){
80
79
// Assume local network (not infallible)
81
- Log .e ("TESTING" , "FOUND LOCALNETWORK" );
82
80
portScan .timeOutMillis = TIMEOUT_LOCALNETWORK ;
83
81
portScan .noThreads = DEFAULT_THREADS_LOCALNETWORK ;
84
82
}
85
83
else {
86
84
// Assume remote network timeouts
87
- Log .e ("TESTING" , "FOUND REMOTE" );
88
85
portScan .timeOutMillis = TIMEOUT_REMOTE ;
89
86
portScan .noThreads = DEFAULT_THREADS_REMOTE ;
90
87
}
You can’t perform that action at this time.
0 commit comments