SSU: Add more state transitions that require confirmation

This commit is contained in:
zzz
2021-04-25 10:33:40 -04:00
parent a4a3235888
commit fe507b63b5

View File

@@ -3446,7 +3446,8 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
// for the following transitions ONLY, require two in a row
// to prevent thrashing
if ((STATUS_OK.contains(old) && STATUS_FW.contains(status)) ||
(STATUS_OK.contains(status) && STATUS_FW.contains(old))) {
(STATUS_OK.contains(status) && STATUS_FW.contains(old)) ||
(STATUS_FW.contains(status) && STATUS_FW.contains(old))) {
if (status != _reachabilityStatusPending) {
if (_log.shouldLog(Log.WARN))
_log.warn("Old status: " + old + " status pending confirmation: " + status +