Ignore the .timestamp file when determining whether the zone config has changed

refs #11014
This commit is contained in:
Gunnar Beutner 2016-01-26 11:32:54 +01:00
parent b7a152ef48
commit 12b5e332e4
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ bool ApiListener::UpdateConfigDir(const ConfigDirInformation& oldConfigInfo, con
{ {
ObjectLock olock(newConfig); ObjectLock olock(newConfig);
BOOST_FOREACH(const Dictionary::Pair& kv, newConfig) { BOOST_FOREACH(const Dictionary::Pair& kv, newConfig) {
if (Utility::Match("*/.timestamp", kv.first))
continue;
if (oldConfig->Get(kv.first) != kv.second) { if (oldConfig->Get(kv.first) != kv.second) {
configChange = true; configChange = true;