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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7fff2478981aecb9826a7ded7501ece99368140a;p=pdns ixfrdist: Check the serial even if verbose is off --- diff --git a/pdns/ixfrdist.cc b/pdns/ixfrdist.cc index 45c8a3e67..a0465633e 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."<