]> granicus.if.org Git - icinga2/commitdiff
Fix incorrect attribute name
authorGunnar Beutner <gunnar@beutner.name>
Fri, 24 Oct 2014 15:48:02 +0000 (17:48 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Fri, 24 Oct 2014 15:48:02 +0000 (17:48 +0200)
fixes #7446

lib/remote/apilistener.cpp

index d24e78ba7fb675de6b43a4f7ee1b6837739bbaa6..5dc67dc7fd53a53fb4669f44689a5b89cdf3908e 100644 (file)
@@ -695,7 +695,7 @@ void ApiListener::ReplayLog(const ApiClient::Ptr& client)
                                if (pmessage->Get("timestamp") <= peer_ts)
                                        continue;
 
-                               Dictionary::Ptr secname = pmessage->Get("secname");
+                               Dictionary::Ptr secname = pmessage->Get("secobj");
                                
                                if (secname) {
                                        DynamicType::Ptr dtype = DynamicType::GetByName(secname->Get("type"));