Improved packet logging display of records with large TTLs
authorcheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Thu, 17 Sep 2009 21:14:25 +0000 (21:14 +0000)
committercheshire@apple.com <cheshire@apple.com@214c2c4a-bf3b-4dcf-9390-e4dd3010487d>
Thu, 17 Sep 2009 21:14:25 +0000 (21:14 +0000)
git-svn-id: http://svn.macosforge.org/repository/mDNSResponder/trunk@6677 214c2c4a-bf3b-4dcf-9390-e4dd3010487d

mDNSCore/DNSCommon.c

index ca4078e..cb79204 100644 (file)
@@ -2290,7 +2290,7 @@ mDNSlocal const mDNSu8 *DumpRecords(mDNS *const m, const DNSMessage *const msg,
                // embedded systems) putting a 9kB object on the stack isn't a big problem.
                LargeCacheRecord largecr;
                ptr = GetLargeResourceRecord(m, msg, ptr, end, mDNSInterface_Any, kDNSRecordTypePacketAns, &largecr);
-               if (ptr) LogMsg("%2d TTL%7d %s", i, largecr.r.resrec.rroriginalttl, CRDisplayString(m, &largecr.r));
+               if (ptr) LogMsg("%2d TTL%8d %s", i, largecr.r.resrec.rroriginalttl, CRDisplayString(m, &largecr.r));
                }
        if (!ptr) LogMsg("ERROR: Premature end of packet data");
        return(ptr);