mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
META type hack no longer needed
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: rdata.c,v 1.74 2000/04/07 03:54:04 explorer Exp $ */
|
/* $Id: rdata.c,v 1.75 2000/04/14 17:28:21 bwelling Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -1556,9 +1556,6 @@ static isc_boolean_t
|
|||||||
ismeta(unsigned int code, struct tbl *table) {
|
ismeta(unsigned int code, struct tbl *table) {
|
||||||
struct tbl *t;
|
struct tbl *t;
|
||||||
REQUIRE(code < 65536);
|
REQUIRE(code < 65536);
|
||||||
/* XXXBEW Yes, this is a hack. But otherwise TKEY will not work */
|
|
||||||
if (code == dns_rdatatype_tsig || code == dns_rdatatype_tkey)
|
|
||||||
return (ISC_TRUE);
|
|
||||||
for (t = table; t->name != NULL; t++) {
|
for (t = table; t->name != NULL; t++) {
|
||||||
if (code == t->value)
|
if (code == t->value)
|
||||||
return ((t->flags & META) ? ISC_TRUE : ISC_FALSE);
|
return ((t->flags & META) ? ISC_TRUE : ISC_FALSE);
|
||||||
|
Reference in New Issue
Block a user