2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

edns_level was not being initialized.

This commit is contained in:
Bob Halley
2000-01-22 00:26:57 +00:00
parent f8d472bac0
commit 97a274369d

View File

@@ -1389,6 +1389,7 @@ new_adbentry(dns_adb_t *adb)
e->lock_bucket = DNS_ADB_INVALIDBUCKET;
e->refcnt = 0;
e->flags = 0;
e->edns_level = -1;
e->goodness = 0;
isc_random_get(&adb->rand, &r);
e->srtt = (r & 0x1f) + 1;