1From 764b6202402e9e5687ff873330e5ad6be6f69df7 Mon Sep 17 00:00:00 2001 2From: Alex Kiernan <alex.kiernan@gmail.com> 3Date: Mon, 5 Dec 2022 22:49:49 +0000 4Subject: [PATCH] mDNSCore: Fix broken debug parameter 5 6Upstream-Status: Pending 7Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> 8 9--- 10 mDNSCore/mDNS.c | 2 +- 11 1 file changed, 1 insertion(+), 1 deletion(-) 12 13Index: mDNSResponder/mDNSCore/mDNS.c 14=================================================================== 15--- mDNSResponder.orig/mDNSCore/mDNS.c 16+++ mDNSResponder/mDNSCore/mDNS.c 17@@ -10231,7 +10231,7 @@ mDNSlocal void mDNSCoreReceiveNoUnicastA 18 #else 19 const DNSServRef dnsserv = qptr->qDNSServer; 20 #endif 21- debugf("mDNSCoreReceiveNoUnicastAnswers making negative cache entry TTL %d for %##s (%s)", negttl, currentQName, DNSTypeName(q.qtype)); 22+ debugf("mDNSCoreReceiveNoUnicastAnswers making negative cache entry TTL %d for %##s (%s)", negttl, currentQName->c, DNSTypeName(q.qtype)); 23 // Create a negative record for the current name in the CNAME chain. 24 MakeNegativeCacheRecord(m, &m->rec.r, currentQName, currentQNameHash, q.qtype, q.qclass, negttl, mDNSInterface_Any, 25 dnsserv, response->h.flags); 26