mirror of
https://github.com/espressif/openthread.git
synced 2026-09-01 23:09:53 +00:00
MPL: Fix Seed Set Entry update procedure (#612)
Remove a need of updating seed's sequence number if MPL Data Message is marked as old.
This commit is contained in:
committed by
Jonathan Hui
parent
e74bee468b
commit
a1b8dbee68
@@ -76,10 +76,7 @@ ThreadError Mpl::ProcessOption(const Message &aMessage)
|
||||
entry = &mEntries[i];
|
||||
diff = static_cast<int8_t>(option.GetSequence() - entry->mSequence);
|
||||
|
||||
if (diff <= 0)
|
||||
{
|
||||
error = kThreadError_Drop;
|
||||
}
|
||||
VerifyOrExit(diff > 0, error = kThreadError_Drop);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user