mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
removed unused edns_level member from ADB entry
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: adb.c,v 1.164 2001/01/22 22:51:22 gson Exp $ */
|
/* $Id: adb.c,v 1.165 2001/01/22 22:53:13 gson Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Implementation notes
|
* Implementation notes
|
||||||
@@ -249,7 +249,8 @@ struct dns_adbzoneinfo {
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* An address entry. It holds quite a bit of information about addresses,
|
* An address entry. It holds quite a bit of information about addresses,
|
||||||
* including edns state, rtt, and of course the address of the host.
|
* including edns state (in "flags"), rtt, and of course the address of
|
||||||
|
* the host.
|
||||||
*/
|
*/
|
||||||
struct dns_adbentry {
|
struct dns_adbentry {
|
||||||
unsigned int magic;
|
unsigned int magic;
|
||||||
@@ -258,7 +259,6 @@ struct dns_adbentry {
|
|||||||
unsigned int refcnt;
|
unsigned int refcnt;
|
||||||
|
|
||||||
unsigned int flags;
|
unsigned int flags;
|
||||||
int edns_level; /* must be int! */
|
|
||||||
int goodness; /* bad < 0 <= good */
|
int goodness; /* bad < 0 <= good */
|
||||||
unsigned int srtt;
|
unsigned int srtt;
|
||||||
isc_sockaddr_t sockaddr;
|
isc_sockaddr_t sockaddr;
|
||||||
@@ -1412,7 +1412,6 @@ new_adbentry(dns_adb_t *adb) {
|
|||||||
e->lock_bucket = DNS_ADB_INVALIDBUCKET;
|
e->lock_bucket = DNS_ADB_INVALIDBUCKET;
|
||||||
e->refcnt = 0;
|
e->refcnt = 0;
|
||||||
e->flags = 0;
|
e->flags = 0;
|
||||||
e->edns_level = -1;
|
|
||||||
e->goodness = 0;
|
e->goodness = 0;
|
||||||
isc_random_get(&r);
|
isc_random_get(&r);
|
||||||
e->srtt = (r & 0x1f) + 1;
|
e->srtt = (r & 0x1f) + 1;
|
||||||
|
Reference in New Issue
Block a user