diff --git a/source/src/cip/cipioconnection.c b/source/src/cip/cipioconnection.c index a9a1de4ba..4193f8d3b 100644 --- a/source/src/cip/cipioconnection.c +++ b/source/src/cip/cipioconnection.c @@ -920,8 +920,7 @@ EipStatus HandleReceivedIoConnectionData(CipConnectionObject *connection_object, ConnectionObjectGetTransportClassTriggerTransportClass(connection_object) ) { EipUint16 sequence_buffer = GetUintFromMessage( &(data) ); - if( SEQ_LEQ16(sequence_buffer, - connection_object->sequence_count_consuming) ) { + if( sequence_buffer == (connection_object->sequence_count_consuming) ) { no_new_data = true; } connection_object->sequence_count_consuming = sequence_buffer;