summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorMatthijs Mekking <matje@NLnetLabs.nl>2009-10-26 15:28:46 +0100
committerMatthijs Mekking <matje@NLnetLabs.nl>2009-10-26 15:28:46 +0100
commitb7c1522a652c89353a40dc8dea757c57d430de0e (patch)
treee69d779e89c07310bfeeefc2eed0f1d28a160341 /rr.c
parent8f7b7c42f469552fe5f678038493bd5ff60bf710 (diff)
downloadldns-b7c1522a652c89353a40dc8dea757c57d430de0e.tar.gz
ATMA, A6
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/rr.c b/rr.c
index 4d5f1442..a492336c 100644
--- a/rr.c
+++ b/rr.c
@@ -1736,8 +1736,9 @@ static const ldns_rdf_type type_nimloc_wireformat[] = {
static const ldns_rdf_type type_srv_wireformat[] = {
LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_DNAME
};
+/* according to "spec", atma rdata can also be specified in E.164 format */
static const ldns_rdf_type type_atma_wireformat[] = {
- LDNS_RDF_TYPE_INT8, LDNS_RDF_TYPE_HEX
+ LDNS_RDF_TYPE_NSAP
};
static const ldns_rdf_type type_naptr_wireformat[] = {
LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_STR, LDNS_RDF_TYPE_STR, LDNS_RDF_TYPE_STR, LDNS_RDF_TYPE_DNAME
@@ -1748,7 +1749,7 @@ static const ldns_rdf_type type_kx_wireformat[] = {
static const ldns_rdf_type type_cert_wireformat[] = {
LDNS_RDF_TYPE_CERT_ALG, LDNS_RDF_TYPE_INT16, LDNS_RDF_TYPE_ALG, LDNS_RDF_TYPE_B64
};
-static const ldns_rdf_type type_a6_wireformat[] = { LDNS_RDF_TYPE_UNKNOWN };
+static const ldns_rdf_type type_a6_wireformat[] = { LDNS_RDF_TYPE_INT8, LDNS_RDF_TYPE_AAAA, LDNS_RDF_TYPE_DNAME };
static const ldns_rdf_type type_dname_wireformat[] = { LDNS_RDF_TYPE_DNAME };
static const ldns_rdf_type type_sink_wireformat[] = { LDNS_RDF_TYPE_INT8,
LDNS_RDF_TYPE_INT8, LDNS_RDF_TYPE_INT8, LDNS_RDF_TYPE_B64
@@ -1889,7 +1890,7 @@ static ldns_rr_descriptor rdata_field_descriptors[] = {
/* 37 */
{LDNS_RR_TYPE_CERT, "CERT", 4, 4, type_cert_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
/* 38 */
- {LDNS_RR_TYPE_A6, "A6", 1, 1, type_a6_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
+ {LDNS_RR_TYPE_A6, "A6", 3, 3, type_a6_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
/* 39 */
{LDNS_RR_TYPE_DNAME, "DNAME", 1, 1, type_dname_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 1 },
/* 40 */