From a0c5527de41a7274ecd789db30dd1e1368451c4a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 11 Dec 2023 10:55:43 +0000 Subject: Fix easy bugs Signed-off-by: Laurent Bercot --- src/common/shibari_log_queryplus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/shibari_log_queryplus.c') diff --git a/src/common/shibari_log_queryplus.c b/src/common/shibari_log_queryplus.c index 7e7fecc..b372526 100644 --- a/src/common/shibari_log_queryplus.c +++ b/src/common/shibari_log_queryplus.c @@ -17,7 +17,7 @@ void shibari_log_queryplus (uint32_t v, s6dns_domain_t const *q, uint16_t qtype, s6dns_domain_t qe ; if (v < 2) return ; qe = *q ; - if (!s6dns_domain_encode(&qe) || !s6dns_domain_tostring(qs, 256, &qe)) return ; + if (!s6dns_domain_decode(&qe) || !s6dns_domain_tostring(qs, 256, &qe)) return ; fmti[ip46_fmt(fmti, ip)] = 0 ; fmtp[uint16_fmt(fmtp, port)] = 0 ; strerr_warni8x("query ", shibari_util_qtype_str(qtype), " ", qs, " ip ", fmti, " port ", fmtp) ; -- cgit v1.2.3