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

Implements wildcard matching in config file include.

Also fixes some minor bugs in include.

Thanks Kelly Cochran for suggestion and draft patch.
This commit is contained in:
Ondrej Zajicek
2012-07-18 19:29:33 +02:00
parent abced4a914
commit 4be266a983
7 changed files with 179 additions and 100 deletions

View File

@@ -357,8 +357,8 @@ cf_error(char *msg, ...)
if (bvsnprintf(buf, sizeof(buf), msg, args) < 0)
strcpy(buf, "<bug: error message too long>");
new_config->err_msg = cfg_strdup(buf);
new_config->err_lino = ifs->conf_lino;
new_config->err_file_name = ifs->conf_fname;
new_config->err_lino = ifs->lino;
new_config->err_file_name = ifs->file_name;
longjmp(conf_jmpbuf, 1);
}