From f30b86f9d5004a3e159c385269e76efc71b1566a Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 7 Mar 2000 21:50:03 +0000 Subject: Added configuration of default protocol debugging flags. --- conf/conf.c | 2 +- conf/conf.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'conf') diff --git a/conf/conf.c b/conf/conf.c index c3f5234..bf58631 100644 --- a/conf/conf.c +++ b/conf/conf.c @@ -43,7 +43,7 @@ config_alloc(byte *name) int config_parse(struct config *c) { - debug("Parsing configuration file `%s'\n", c->file_name); + DBG("Parsing configuration file `%s'\n", c->file_name); new_config = c; cfg_mem = c->mem; if (setjmp(conf_jmpbuf)) diff --git a/conf/conf.h b/conf/conf.h index 5b80b0d..78ab04a 100644 --- a/conf/conf.h +++ b/conf/conf.h @@ -21,6 +21,7 @@ struct config { list logfiles; /* Configured log fils (sysdep) */ struct rtable_config *master_rtc; /* Configuration of master routing table */ u32 router_id; /* Our Router ID */ + unsigned int proto_default_debug; /* Default protocol debug mask */ char *err_msg; /* Parser error message */ int err_lino; /* Line containing error */ char *file_name; /* Name of configuration file */ -- cgit v1.2.3