Procházet zdrojové kódy

fixed copy paste debug string error in getattributeall for TCP/IP Interface object

Alois Zoitl před 13 roky
rodič
revize
4397bf232b
1 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. 1 3
      src/cip/ciptcpipinterface.c

+ 1 - 3
src/cip/ciptcpipinterface.c

@@ -81,8 +81,6 @@ configureNetworkInterface(const char *pa_acIpAdress,
   return EIP_OK;
   return EIP_OK;
 }
 }
 
 
-//FIXME check on NULL
-
 void
 void
 configureDomainName(const char *pa_acDomainName)
 configureDomainName(const char *pa_acDomainName)
 {
 {
@@ -191,7 +189,7 @@ CIP_TCPIP_Interface_Init()
       &getAttributeSingleTCPIPInterface, "GetAttributeSingleTCPIPInterface");
       &getAttributeSingleTCPIPInterface, "GetAttributeSingleTCPIPInterface");
 
 
   insertService(p_stTCPIPClass, CIP_GET_ATTRIBUTE_ALL,
   insertService(p_stTCPIPClass, CIP_GET_ATTRIBUTE_ALL,
-      &getAttributeAllTCPIPInterface, "SetAttributeSingleTCPIPInterface");
+      &getAttributeAllTCPIPInterface, "GetAttributeAllTCPIPInterface");
 
 
   insertService(p_stTCPIPClass, CIP_SET_ATTRIBUTE_SINGLE,
   insertService(p_stTCPIPClass, CIP_SET_ATTRIBUTE_SINGLE,
       &setAttributeSingleTCP, "SetAttributeSingle");
       &setAttributeSingleTCP, "SetAttributeSingle");