dns: switch to rk types
authorLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:18:55 +0000 (17:18 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sun, 22 Mar 2009 17:18:55 +0000 (17:18 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24893 ec53bebd-3082-4978-b11e-865c3cabbd6b

lib/krb5/krbhst.c

index ca0c04b75d6c164956f5d4f77807b98903360fd7..e9111abec992cfb0215631e8dc5afd4a1b2a51d7 100644 (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);