Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ef5ac13 authored by Erik Kline's avatar Erik Kline Committed by Android Git Automerger
Browse files

am ab069235: Treat RTM_DELNEIGH as a transition to NUD_NONE

* commit 'ab069235':
  Treat RTM_DELNEIGH as a transition to NUD_NONE
parents e438183d ab069235
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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);
            }