fixed bug in event forwarding
authorVictor Kirhenshtein <victor@netxms.org>
Mon, 12 Sep 2016 06:49:43 +0000 (09:49 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Mon, 12 Sep 2016 06:49:54 +0000 (09:49 +0300)
src/server/core/ef.cpp

index a3a4305..576277c 100644 (file)
@@ -57,7 +57,7 @@ BOOL EF_ProcessMessage(ISCSession *session, NXCPMessage *request, NXCPMessage *r
                if (id != 0)
                        object = FindObjectById(id);  // Object is specified explicitely
                else
-                       object = FindNodeByIP(0, request->getFieldAsUInt32(VID_IP_ADDRESS));    // Object is specified by IP address
+                       object = FindNodeByIP(0, request->getFieldAsInetAddress(VID_IP_ADDRESS));       // Object is specified by IP address
                
                if (object != NULL)
                {