Merge pull request #90 from bgrozev/sctp-close-fix

fix: Fixes a failure to recognize consent
This commit is contained in:
bbaldino 2016-12-21 14:59:07 -08:00 committed by GitHub
commit 43e6e5359d

View File

@ -739,8 +739,11 @@ class ConnectivityCheckClient
} }
// Selected pairs get their consent freshness confirmed. // Selected pairs get their consent freshness confirmed.
if (checkedPair == checkedPair.getParentComponent().getSelectedPair()) // XXX Should we also confirm consent freshness for non-selected pairs?
if (checkedPair.equals(checkedPair.getParentComponent().getSelectedPair()))
{
checkedPair.setConsentFreshness(); checkedPair.setConsentFreshness();
}
} }
/** /**