summaryrefslogtreecommitdiff
path: root/rr.c
diff options
context:
space:
mode:
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>2015-06-04 14:34:40 +0200
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>2015-06-04 14:34:40 +0200
commitadd993636a7abdf241d378728a45bca940fb8bf3 (patch)
treee9a1a8fa6121e7d2080504afa3784cabd2946a83 /rr.c
parent12510e4d375dea3823d4c312564c441ed3d320e5 (diff)
downloadldns-add993636a7abdf241d378728a45bca940fb8bf3.tar.gz
RFC7553 RR Type URI is supported by default.
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/rr.c b/rr.c
index e52ea809..c73df3db 100644
--- a/rr.c
+++ b/rr.c
@@ -2012,13 +2012,11 @@ static const ldns_rdf_type type_eui48_wireformat[] = {
static const ldns_rdf_type type_eui64_wireformat[] = {
LDNS_RDF_TYPE_EUI64
};
-#ifdef RRTYPE_URI
static const ldns_rdf_type type_uri_wireformat[] = {
LDNS_RDF_TYPE_INT16,
LDNS_RDF_TYPE_INT16,
LDNS_RDF_TYPE_LONG_STR
};
-#endif
static const ldns_rdf_type type_caa_wireformat[] = {
LDNS_RDF_TYPE_INT8,
LDNS_RDF_TYPE_TAG,
@@ -2401,12 +2399,8 @@ static ldns_rr_descriptor rdata_field_descriptors[] = {
/* ANY: A request for all (available) records */
{LDNS_RR_TYPE_NULL, "TYPE255", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
-#ifdef RRTYPE_URI
/* 256 */
{LDNS_RR_TYPE_URI, "URI", 3, 3, type_uri_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
-#else
-{LDNS_RR_TYPE_NULL, "TYPE256", 1, 1, type_0_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },
-#endif
/* 257 */
{LDNS_RR_TYPE_CAA, "CAA", 3, 3, type_caa_wireformat, LDNS_RDF_TYPE_NONE, LDNS_RR_NO_COMPRESS, 0 },