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

restore comment

This commit is contained in:
Mark Andrews
2001-10-12 04:01:40 +00:00
parent 417872b98a
commit ff52c72095

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: client.c,v 1.185 2001/10/12 03:58:04 marka Exp $ */ /* $Id: client.c,v 1.186 2001/10/12 04:01:40 marka Exp $ */
#include <config.h> #include <config.h>
@@ -1363,6 +1363,11 @@ client_request(isc_task_t *task, isc_event_t *event) {
NS_LOGMODULE_CLIENT, ISC_LOG_ERROR, NS_LOGMODULE_CLIENT, ISC_LOG_ERROR,
"request has invalid signature: %s", "request has invalid signature: %s",
isc_result_totext(result)); isc_result_totext(result));
/*
* Accept update messages signed by unknown keys so that
* update forwarding works transparently through slaves
* that don't have all the same keys as the master.
*/
if (!(client->message->tsigstatus == dns_tsigerror_badkey && if (!(client->message->tsigstatus == dns_tsigerror_badkey &&
client->message->opcode == dns_opcode_update)) { client->message->opcode == dns_opcode_update)) {
ns_client_error(client, sigresult); ns_client_error(client, sigresult);