dns: switch to rk types, prefix types with rk_

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24897 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-03-22 17:19:36 +00:00
parent b7db794723
commit 99196c113e

View File

@@ -952,23 +952,23 @@ krb5_425_conv_principal_ext2(krb5_context context,
krb5_boolean passed = FALSE;
char *inst = NULL;
#ifdef USE_RESOLVER
struct dns_reply *r;
struct rk_dns_reply *r;
r = dns_lookup(instance, "aaaa");
r = rk_dns_lookup(instance, "aaaa");
if (r) {
if (r->head && r->head->type == T_AAAA) {
if (r->head && r->head->type == rk_ns_t_aaaa) {
inst = strdup(r->head->domain);
passed = TRUE;
}
dns_free_data(r);
rk_dns_free_data(r);
} else {
r = dns_lookup(instance, "a");
r = rk_dns_lookup(instance, "a");
if (r) {
if(r->head && r->head->type == T_A) {
if(r->head && r->head->type == rk_ns_t_a) {
inst = strdup(r->head->domain);
passed = TRUE;
}
dns_free_data(r);
rk_dns_free_data(r);
}
}
#else