diff --git a/lib/remote/apilistener-sync.cpp b/lib/remote/apilistener-sync.cpp index 7bca5731c..34df3f70f 100644 --- a/lib/remote/apilistener-sync.cpp +++ b/lib/remote/apilistener-sync.cpp @@ -128,7 +128,7 @@ void ApiListener::SyncZoneDir(const Zone::Ptr& zone) const ObjectLock olock(newConfigPart); BOOST_FOREACH(const Dictionary::Pair& kv, newConfigPart) { - newConfig->Set(zf.Tag + "/" + kv.first, kv.second); + newConfig->Set("/" + zf.Tag + kv.first, kv.second); } }