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:
		@@ -952,23 +952,23 @@ krb5_425_conv_principal_ext2(krb5_context context,
 | 
				
			|||||||
	krb5_boolean passed = FALSE;
 | 
						krb5_boolean passed = FALSE;
 | 
				
			||||||
	char *inst = NULL;
 | 
						char *inst = NULL;
 | 
				
			||||||
#ifdef USE_RESOLVER
 | 
					#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) {
 | 
				
			||||||
	    if (r->head && r->head->type == T_AAAA) {
 | 
						    if (r->head && r->head->type == rk_ns_t_aaaa) {
 | 
				
			||||||
		inst = strdup(r->head->domain);
 | 
							inst = strdup(r->head->domain);
 | 
				
			||||||
		passed = TRUE;
 | 
							passed = TRUE;
 | 
				
			||||||
	    }
 | 
						    }
 | 
				
			||||||
	    dns_free_data(r);
 | 
						    rk_dns_free_data(r);
 | 
				
			||||||
	} else {
 | 
						} else {
 | 
				
			||||||
	    r = dns_lookup(instance, "a");
 | 
						    r = rk_dns_lookup(instance, "a");
 | 
				
			||||||
	    if (r) {
 | 
						    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);
 | 
							    inst = strdup(r->head->domain);
 | 
				
			||||||
		    passed = TRUE;
 | 
							    passed = TRUE;
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		dns_free_data(r);
 | 
							rk_dns_free_data(r);
 | 
				
			||||||
	    }
 | 
						    }
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user