am ab069235: Treat RTM_DELNEIGH as a transition to NUD_NONE
* commit 'ab06923576d4a49bc84c94badfcebcb7f6b103a8': Treat RTM_DELNEIGH as a transition to NUD_NONE
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user