]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- fix #613: Allow tab ws in var length last rdfs (in ldns str2wire).
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 1 Oct 2014 08:11:42 +0000 (08:11 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 1 Oct 2014 08:11:42 +0000 (08:11 +0000)
git-svn-id: file:///svn/unbound/trunk@3233 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
ldns/str2wire.c

index 6fa88001726b6f670bf06eb27f5d114d78ed5c4a..d2f2235301970663d0cff88d638489e465bf3e2a 100644 (file)
@@ -1,3 +1,6 @@
+1 October 2014: Wouter
+       - fix #613: Allow tab ws in var length last rdfs (in ldns str2wire).
+
 29 September 2014: Wouter
        - Fix #612: create service with service.conf in present directory and
          auto load it.
index 92eefa8518fc32033bee72ebeb72f20f39ae2e2b..0597b03bfe573ae8024c48ab586f1c539db752bc 100644 (file)
@@ -337,7 +337,7 @@ rrinternal_get_delims(sldns_rdf_type rdftype, uint16_t r_cnt, uint16_t r_max)
        case LDNS_RDF_TYPE_WKS        : /* it is the last rd field. */
        case LDNS_RDF_TYPE_IPSECKEY   :
        case LDNS_RDF_TYPE_NSEC       : if (r_cnt == r_max - 1) {
-                                               return "\n\t";
+                                               return "\n";
                                        }
                                        break;
        default                       : break;