dns: switch to rk types

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24893 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-03-22 17:18:55 +00:00
parent ac0502a0fe
commit db149370e1

View File

@@ -90,7 +90,7 @@ srv_find_realm(krb5_context context, krb5_krbhst_info ***res, int *count,
return KRB5_KDC_UNREACH;
for(num_srv = 0, rr = r->head; rr; rr = rr->next)
if(rr->type == T_SRV)
if(rr->type == rk_ns_t_srv)
num_srv++;
*res = malloc(num_srv * sizeof(**res));
@@ -104,7 +104,7 @@ srv_find_realm(krb5_context context, krb5_krbhst_info ***res, int *count,
rk_dns_srv_order(r);
for(num_srv = 0, rr = r->head; rr; rr = rr->next)
if(rr->type == T_SRV) {
if(rr->type == rk_ns_t_srv) {
krb5_krbhst_info *hi;
size_t len = strlen(rr->u.srv->target);