summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Vavrusa <marek.vavrusa@nic.cz>2012-11-15 18:02:12 +0100
committerMarek Vavrusa <marek.vavrusa@nic.cz>2012-11-15 18:02:39 +0100
commit790f9478f6f0e10d20d3523129857f3ff332c0bb (patch)
tree02dec632d9179a485aedb166978cccd6c8030daf
parentFixed missing variable for debug message. (diff)
downloadknot-790f9478f6f0e10d20d3523129857f3ff332c0bb.tar.xz
knot-790f9478f6f0e10d20d3523129857f3ff332c0bb.zip
Fixed misplaced debug message.
fixes #2217
-rw-r--r--src/knot/server/zones.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/knot/server/zones.c b/src/knot/server/zones.c
index fac5645bb..930f61155 100644
--- a/src/knot/server/zones.c
+++ b/src/knot/server/zones.c
@@ -2219,8 +2219,7 @@ int zones_query_check_zone(const knot_zone_t *zone, const sockaddr_t *addr,
return KNOT_EACCES;
} else {
dbg_zones("zones: authorized query or request for "
- "'%s %s'. match=%p\n", zd->conf->name, match,
- q_opcode == KNOT_OPCODE_UPDATE ? "UPDATE":"XFR/OUT");
+ "'%s %s'. match=%p\n", zd->conf->name, "XFR/OUT", match);
if (match) {
/* Save configured TSIG key for comparison. */
conf_iface_t *iface = (conf_iface_t*)(match->val);