summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog2
-rw-r--r--rr.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index 76e5c8c6..f8fea0db 100644
--- a/Changelog
+++ b/Changelog
@@ -24,6 +24,8 @@ TBD
Thanks Johannes Naab
* fix: Memory leak in ldns_dname2buffer_wire_compress()
Thanks Max Liebkies
+ * bugfix #613: Allow tab as whitespace too in last rdata field of types
+ of variable length. Thanks Xiali Yan
1.6.17 2014-01-10
* Fix ldns_dnssec_zone_new_frm_fp_l to allow the last parsed line of a
diff --git a/rr.c b/rr.c
index e5c99012..c6f7eeb5 100644
--- a/rr.c
+++ b/rr.c
@@ -348,7 +348,7 @@ ldns_rr_new_frm_str_internal(ldns_rr **newrr, const char *str,
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) {
- delimiters = "\n\t";
+ delimiters = "\n";
break;
}
default : delimiters = "\n\t ";