1018. [bug] The default log channel was not always initialized

correctly. [RT #1813]
This commit is contained in:
Andreas Gustafsson
2001-09-27 20:54:27 +00:00
parent f558da602e
commit 6859033d42
2 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
1018. [bug] The default log channel was not always initialized
correctly. [RT #1813]
1017. [bug] When specifying TSIG keys to dig and nsupdate using
the -k option, they must be HMAC-MD5 keys. [RT #1810]

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: logconf.c,v 1.31 2001/09/25 00:55:22 gson Exp $ */
/* $Id: logconf.c,v 1.32 2001/09/27 20:54:27 gson Exp $ */
#include <config.h>
@@ -267,12 +267,12 @@ ns_log_configure(isc_logconfig_t *logconf, cfg_obj_t *logstmt) {
CHECK(category_fromconf(category, logconf));
if (!default_set) {
cfg_obj_t *catname = cfg_tuple_get(category, "name");
if (strcmp(cfg_obj_asstring(catname), "default"))
if (strcmp(cfg_obj_asstring(catname), "default") == 0)
default_set = ISC_TRUE;
}
if (!unmatched_set) {
cfg_obj_t *catname = cfg_tuple_get(category, "name");
if (strcmp(cfg_obj_asstring(catname), "unmatched"))
if (strcmp(cfg_obj_asstring(catname), "unmatched") == 0)
unmatched_set = ISC_TRUE;
}
}