summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/net/IpReachabilityMonitor.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/core/java/android/net/IpReachabilityMonitor.java b/core/java/android/net/IpReachabilityMonitor.java
index 78d147d..3cfd8b2 100644
--- a/core/java/android/net/IpReachabilityMonitor.java
+++ b/core/java/android/net/IpReachabilityMonitor.java
@@ -443,14 +443,13 @@ public class IpReachabilityMonitor {
if (mIpWatchList.containsKey(destination)) {
final short value =
(msgType == NetlinkConstants.RTM_DELNEIGH)
- ? StructNdMsg.NUD_FAILED
+ ? StructNdMsg.NUD_NONE
: nudState;
mIpWatchList.put(destination, value);
}
}
- if ((msgType == NetlinkConstants.RTM_DELNEIGH) ||
- (nudState == StructNdMsg.NUD_FAILED)) {
+ if (nudState == StructNdMsg.NUD_FAILED) {
Log.w(TAG, "ALERT: " + eventMsg);
handleNeighborLost(eventMsg);
}