diff --git a/src/iec61850/inc/iec61850_server.h b/src/iec61850/inc/iec61850_server.h index 04a81b78..d33d1a00 100644 --- a/src/iec61850/inc/iec61850_server.h +++ b/src/iec61850/inc/iec61850_server.h @@ -815,7 +815,9 @@ LIB61850_API void IedServer_setConnectionIndicationHandler(IedServer self, IedConnectionIndicationHandler handler, void* parameter); /** - * \brief Ignore all requests from clients + * \brief Ignore all requests from clients (for testing purposes) + * + * NOTE: This function will block all client requests on MMS layer * * \param self the instance of IedServer to configure. * \param enable when true all requests from clients will be ignored @@ -2017,7 +2019,7 @@ IedServer_setControlBlockAccessHandler(IedServer self, IedServer_ControlBlockAcc * \param ignore true to ignore read requests, false to handle read requests. */ LIB61850_API void -IedServer_ingoreReadAccess(IedServer self, bool ignore); +IedServer_ignoreReadAccess(IedServer self, bool ignore); /**@}*/ diff --git a/src/iec61850/server/impl/ied_server.c b/src/iec61850/server/impl/ied_server.c index c718e2c8..2acecedd 100644 --- a/src/iec61850/server/impl/ied_server.c +++ b/src/iec61850/server/impl/ied_server.c @@ -2002,7 +2002,7 @@ IedServer_setControlBlockAccessHandler(IedServer self, IedServer_ControlBlockAcc } void -IedServer_ingoreReadAccess(IedServer self, bool ignore) +IedServer_ignoreReadAccess(IedServer self, bool ignore) { self->ignoreReadAccess = ignore; }