mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 15:05:23 +00:00
clarified warning messages
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: confctl.c,v 1.26 2000/07/12 15:36:09 brister Exp $ */
|
/* $Id: confctl.c,v 1.27 2000/07/12 16:17:38 gson Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -137,18 +137,18 @@ dns_c_ctrl_validate(dns_c_ctrl_t *ctrl)
|
|||||||
if (ctrl->control_type == dns_c_unix_control) {
|
if (ctrl->control_type == dns_c_unix_control) {
|
||||||
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
|
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
|
||||||
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
|
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
|
||||||
"unix sockets are not not implmented for"
|
"type 'unix' control channels are "
|
||||||
" control channels");
|
"not implemented");
|
||||||
} else if (ctrl->keyidlist == NULL) {
|
} else if (ctrl->keyidlist == NULL) {
|
||||||
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
|
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
|
||||||
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
|
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
|
||||||
"the KEYS clause of an INET control "
|
"type 'inet' control channel has no 'keys' "
|
||||||
"channel must be used");
|
"clause; control channel will be disabled");
|
||||||
} else if (dns_c_kidlist_keycount(ctrl->keyidlist) == 0) {
|
} else if (dns_c_kidlist_keycount(ctrl->keyidlist) == 0) {
|
||||||
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
|
isc_log_write(dns_lctx,DNS_LOGCATEGORY_CONFIG,
|
||||||
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
|
DNS_LOGMODULE_CONFIG, ISC_LOG_WARNING,
|
||||||
"the KEYS clause of an INET control "
|
"type 'inet' control channel has no keys; "
|
||||||
"channel must not be empty");
|
"control channel will be disabled");
|
||||||
}
|
}
|
||||||
|
|
||||||
return (result);
|
return (result);
|
||||||
|
Reference in New Issue
Block a user