From 7fff2478981aecb9826a7ded7501ece99368140a Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 12 Feb 2018 15:26:00 +0100 Subject: [PATCH] ixfrdist: Check the serial even if verbose is off --- pdns/ixfrdist.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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."<