From: Remi Gacogne Date: Mon, 12 Feb 2018 14:26:00 +0000 (+0100) Subject: ixfrdist: Check the serial even if verbose is off X-Git-Tag: dnsdist-1.3.0~107^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6258%2Fhead;p=thirdparty%2Fpdns.git ixfrdist: Check the serial even if verbose is off --- diff --git a/pdns/ixfrdist.cc b/pdns/ixfrdist.cc index 45c8a3e67c..a0465633e7 100644 --- a/pdns/ixfrdist.cc +++ b/pdns/ixfrdist.cc @@ -206,15 +206,19 @@ void updateThread() { try { lastCheck[domain] = now; auto newSerial = getSerialFromMaster(g_master, domain, sr); // TODO TSIG - if(g_soas.find(domain) != g_soas.end() && g_verbose) { - cerr<<"[INFO] Got SOA Serial for "<d_st.serial; + if(g_soas.find(domain) != g_soas.end()) { + if (g_verbose) { + cerr<<"[INFO] Got SOA Serial for "<d_st.serial; + } if (newSerial == g_soas[domain]->d_st.serial) { if (g_verbose) { cerr<<", not updating."<