patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			734 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			734 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| Index: contrib/bind9/lib/dns/resolver.c
 | |
| ===================================================================
 | |
| --- contrib/bind9/lib/dns/resolver.c	(revision 238745)
 | |
| +++ contrib/bind9/lib/dns/resolver.c	(revision 238746)
 | |
| @@ -8448,6 +8448,7 @@
 | |
|  			goto cleanup;
 | |
|  		bad->type = type;
 | |
|  		bad->hashval = hashval;
 | |
| +		bad->expire = *expire;
 | |
|  		isc_buffer_init(&buffer, bad + 1, name->length);
 | |
|  		dns_name_init(&bad->name, NULL);
 | |
|  		dns_name_copy(name, &bad->name, &buffer);
 | |
| @@ -8459,8 +8460,8 @@
 | |
|  		if (resolver->badcount < resolver->badhash * 2 &&
 | |
|  		    resolver->badhash > DNS_BADCACHE_SIZE)
 | |
|  			resizehash(resolver, &now, ISC_FALSE);
 | |
| -	}
 | |
| -	bad->expire = *expire;
 | |
| +	} else
 | |
| +		bad->expire = *expire;
 | |
|   cleanup:
 | |
|  	UNLOCK(&resolver->lock);
 | |
|  }
 |