]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
todos
authorMiek Gieben <miekg@NLnetLabs.nl>
Thu, 8 Sep 2005 12:23:44 +0000 (12:23 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Thu, 8 Sep 2005 12:23:44 +0000 (12:23 +0000)
error.c
host2str.c

diff --git a/error.c b/error.c
index 9f65349d759e8e137ee5cc2081f41ba0d57f527e..4950b38f07e5bd168e32bea08ba4177b7d15c1c5 100644 (file)
--- a/error.c
+++ b/error.c
@@ -42,7 +42,7 @@ ldns_lookup_table ldns_error_str[] = {
         { LDNS_STATUS_CRYPTO_NO_DNSKEY, "No DNSSEC public key(s)" },
         { LDNS_STATUS_CRYPTO_NO_TRUSTED_DNSKEY, "No signatures found for trusted DNSSEC public key(s)" },
         { LDNS_STATUS_CRYPTO_NO_MATCHING_KEYTAG_DNSKEY, "No keys with the keytag from the RRSIG found" },
-        { LDNS_STATUS_CRYPTO_VALIDATED, "validated" },
+        { LDNS_STATUS_CRYPTO_VALIDATED, "Valid DNSSEC signature" },
         { LDNS_STATUS_CRYPTO_BOGUS, "Bogus DNSSEC signature" },
         { LDNS_STATUS_CRYPTO_SIG_EXPIRED, "DNSSEC signature has expired" },
         { LDNS_STATUS_CRYPTO_SIG_NOT_INCEPTED, "DNSSEC signature not incepted yet" },
index a5ee4948fd8c90c5a9a18383e056393a58c78e86..ec0bf7e2fd616ebaca4673bdf87ac4662b781627 100644 (file)
@@ -788,9 +788,10 @@ ldns_rr2buffer_str(ldns_buffer *output, ldns_rr *rr)
                        return status;
                }
 
-               /* ttl should not be printed if it is a question, 
-                * but we don't know that anymore... (do we?)*/
-               /* TODO: better way */
+               /* TTL should NOT be printed if it is a question, 
+                * but we don't know that anymore... (do we?)
+                * if the rd count is 0 we deal with a question sec. RR 
+                */
                if (ldns_rr_rd_count(rr) > 0) {
                        ldns_buffer_printf(output, "\t%d", ldns_rr_ttl(rr));
                }