diff --git a/source/src/cip/cipioconnection.c b/source/src/cip/cipioconnection.c index 419580248..a9a1de4ba 100644 --- a/source/src/cip/cipioconnection.c +++ b/source/src/cip/cipioconnection.c @@ -1015,7 +1015,7 @@ CipError OpenCommunicationChannels(CipConnectionObject *connection_object) { if(OpenProducingPointToPointConnection(connection_object, common_packet_format_data) != - kEipStatusOk) { + kCipErrorSuccess) { OPENER_TRACE_ERR("error in PointToPoint producing connection\n"); return kCipErrorConnectionFailure; }