Commit 5f120ce9 authored by Bob Halley's avatar Bob Halley
Browse files

add dns_wildcardname constant

parent 593d9512
......@@ -198,6 +198,7 @@ struct dns_name {
#define DNS_NAMEATTR_DYNAMIC 0x0004
extern dns_name_t *dns_rootname;
extern dns_name_t *dns_wildcardname;
/***
*** Initialization
......
......@@ -150,6 +150,17 @@ static struct dns_name root = {
dns_name_t *dns_rootname = &root;
static struct dns_name wild = {
NAME_MAGIC,
(unsigned char *)"\001*", 2, 1,
DNS_NAMEATTR_READONLY,
(unsigned char *)"", NULL,
{(void *)-1, (void *)-1},
{NULL, NULL}
};
dns_name_t *dns_wildcardname = &wild;
static void set_offsets(dns_name_t *name, unsigned char *offsets,
isc_boolean_t set_labels, isc_boolean_t set_length,
isc_boolean_t set_absolute);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment