Fixed a mistake
authorzev <zev@radensolutions.com>
Thu, 17 Sep 2015 11:34:40 +0000 (14:34 +0300)
committerzev <zev@radensolutions.com>
Thu, 17 Sep 2015 11:34:40 +0000 (14:34 +0300)
src/server/core/session.cpp

index 4dc0b9d..9fcc588 100644 (file)
@@ -13910,7 +13910,7 @@ void ClientSession::resyncAgentDciConfiguration(NXCPMessage *request)
             AgentConnectionEx *conn = node->createAgentConnection();
             if(conn != NULL)
             {
-               node->clearDataCollectionConfigFromAgent(conn);
+               node->syncDataCollectionWithAgent(conn);
             }
             else
             {