2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

future cookie code

This commit is contained in:
Mark Andrews
2015-07-08 12:57:29 +10:00
parent af63e286dd
commit e8f98ec8d4

View File

@@ -6973,6 +6973,15 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
goto cleanup;
}
}
#ifdef __notyet__
/*
* XXXMPA Wait until BADCOOKIE is officially allocated.
* Policy knob?
*/
} else if (WANTCOOKIE(client) && !HAVECOOKIE(client)) {
client->message->rcode = dns_rcode_badcookie;
goto cleanup;
#endif
}
if (!RECURSING(client) &&