Only update timestamp and targeting on higher sequence number
This commit is contained in:
@@ -196,7 +196,7 @@ void Transport<MyState, RemoteState>::recv( void )
|
||||
|
||||
if ( !found ) {
|
||||
// fprintf( stderr, "Ignoring out-of-order packet. Reference state %d has been discarded or hasn't yet been received.\n", int(inst.old_num) );
|
||||
return;
|
||||
return; /* this is security-sensitive and part of how we enforce idempotency */
|
||||
}
|
||||
|
||||
/* apply diff to reference state */
|
||||
|
||||
Reference in New Issue
Block a user