1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Added configuration of default protocol debugging flags.

This commit is contained in:
Martin Mares
2000-03-07 21:50:03 +00:00
parent 3eb0b586ca
commit f30b86f9d5
4 changed files with 11 additions and 2 deletions

View File

@@ -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))

View File

@@ -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 */