From: Michael Friedrich Date: Thu, 10 Nov 2016 16:15:06 +0000 (+0100) Subject: Ensure that UpdateConfigObject sets the target zone X-Git-Tag: v2.6.0~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dd4898eb353fa7751543e2af4647b66818eb901;p=icinga2 Ensure that UpdateConfigObject sets the target zone refs #11684 --- diff --git a/lib/remote/apilistener-configsync.cpp b/lib/remote/apilistener-configsync.cpp index beeedb8d5..22693541c 100644 --- a/lib/remote/apilistener-configsync.cpp +++ b/lib/remote/apilistener-configsync.cpp @@ -347,7 +347,7 @@ void ApiListener::UpdateConfigObject(const ConfigObject::Ptr& object, const Mess if (!target) target = Zone::GetLocalZone(); - RelayMessage(origin, object, message, false); + RelayMessage(origin, target, message, false); } }