Commit Diff
Diff:
2d7d4a19e210e2cfeba98ea68ef7ef2df23490ed
391531e4684cbc10e11d96955caf42a27c31e138
Commit:
391531e4684cbc10e11d96955caf42a27c31e138
Tree:
7ac18b8ef66a60a20666009f3e60d9464a2fa083
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Mon Dec 9 18:14:24 2019 UTC
Message:
indicate the TSIG error in hex, which it was but we want to prepend a 0x to it.
blob - d9a649a883563400fb9b1a5a482bd525e9880691
blob + 60ccf5144347f69a20141392a9aae3e3e3f57b6f
--- axfr.c
+++ axfr.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: axfr.c,v 1.37 2019/12/03 18:21:40 pjp Exp $
+ * $Id: axfr.c,v 1.38 2019/12/09 18:14:24 pjp Exp $
*/
#include <sys/types.h>
@@ -933,7 +933,7 @@ axfr_connection(int so, char *address, int is_ipv6, dd
}
if (question->tsig.have_tsig && question->tsig.tsigerrorcode != 0) {
- dolog(LOG_INFO, "AXFR question had TSIG errors, code %02x, drop\n", question->tsig.tsigerrorcode);
+ dolog(LOG_INFO, "AXFR question had TSIG errors, code 0x%02x, drop\n", question->tsig.tsigerrorcode);
goto drop;
}
repomaster@centroid.eu