mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-23 07:07:00 -04:00
define dns_rdataclass_none as 254, not 0 (RFC2136); remove dns_rdatatype_none for consistency; add some meta-types
This commit is contained in:
parent
a4fe5869c0
commit
da378e384b
1 changed files with 5 additions and 2 deletions
|
|
@ -91,15 +91,18 @@ typedef enum {
|
|||
*/
|
||||
|
||||
enum {
|
||||
dns_rdatatype_none = 0,
|
||||
TYPEENUM
|
||||
dns_rdatatype_ixfr = 251,
|
||||
dns_rdatatype_axfr = 252,
|
||||
dns_rdatatype_mailb = 253,
|
||||
dns_rdatatype_maila = 254,
|
||||
dns_rdatatype_any = 255
|
||||
};
|
||||
|
||||
#include <dns/enumclass.h>
|
||||
enum {
|
||||
CLASSENUM
|
||||
dns_rdataclass_none = 0
|
||||
dns_rdataclass_none = 254 /* RFC2136 */
|
||||
/* dns_rdataclass_any = 255 TSIG is class ANY specific */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue