aboutsummaryrefslogtreecommitdiff
path: root/resolv/res_debug.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-12-31 21:16:27 +0100
committerFlorian Weimer <fweimer@redhat.com>2016-12-31 21:16:27 +0100
commit4f157746e0c713965d9143b52fef606312087c48 (patch)
tree82a04d21a1d007fc93b1ead4544877a0e20b1049 /resolv/res_debug.c
parentfc82b0a2dfe7dbd35671c10510a8da1043d746a5 (diff)
downloadglibc-4f157746e0c713965d9143b52fef606312087c48.zip
glibc-4f157746e0c713965d9143b52fef606312087c48.tar.gz
glibc-4f157746e0c713965d9143b52fef606312087c48.tar.bz2
Update DNS RR type definitions [BZ #20593]
This commit includes a new script which allows generating parts of the header files from IANA DNS parameters protocol registry.
Diffstat (limited to 'resolv/res_debug.c')
-rw-r--r--resolv/res_debug.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/resolv/res_debug.c b/resolv/res_debug.c
index 12059c2..14557dd 100644
--- a/resolv/res_debug.c
+++ b/resolv/res_debug.c
@@ -372,9 +372,8 @@ const struct res_sym __p_update_section_syms[] attribute_hidden = {
};
/*
- * Names of RR types and qtypes. Types and qtypes are the same, except
- * that T_ANY is a qtype but not a type. (You can ask for records of type
- * T_ANY, but you can't have any records of that type in the database.)
+ * Names of RR types and qtypes. The list is incomplete because its
+ * size is part of the ABI.
*/
extern const struct res_sym __p_type_syms[];
libresolv_hidden_proto (__p_type_syms)
@@ -418,13 +417,13 @@ const struct res_sym __p_type_syms[] = {
{ns_t_tsig, (char *) "TSIG", (char *) "transaction signature"},
{ns_t_ixfr, (char *) "IXFR", (char *) "incremental zone transfer"},
{ns_t_axfr, (char *) "AXFR", (char *) "zone transfer"},
- {ns_t_zxfr, (char *) "ZXFR", (char *) "compressed zone transfer"},
{ns_t_mailb, (char *) "MAILB", (char *) "mailbox-related data (deprecated)"},
{ns_t_maila, (char *) "MAILA", (char *) "mail agent (deprecated)"},
{ns_t_naptr, (char *) "NAPTR", (char *) "URN Naming Authority"},
{ns_t_kx, (char *) "KX", (char *) "Key Exchange"},
{ns_t_cert, (char *) "CERT", (char *) "Certificate"},
{ns_t_any, (char *) "ANY", (char *) "\"any\""},
+ {0, NULL, NULL}, /* Padding to preserve ABI. */
{0, NULL, NULL}
};
libresolv_hidden_data_def (__p_type_syms)