mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
Merge branch 'master' into rt-accepted
This commit is contained in:
commit
3e17e38059
@ -224,6 +224,9 @@ static_start(struct proto *p)
|
|||||||
if (cf->igp_table)
|
if (cf->igp_table)
|
||||||
rt_lock_table(cf->igp_table->table);
|
rt_lock_table(cf->igp_table->table);
|
||||||
|
|
||||||
|
/* We have to go UP before routes could be installed */
|
||||||
|
proto_notify_state(p, PS_UP);
|
||||||
|
|
||||||
WALK_LIST(r, cf->other_routes)
|
WALK_LIST(r, cf->other_routes)
|
||||||
static_add(p, cf, r);
|
static_add(p, cf, r);
|
||||||
return PS_UP;
|
return PS_UP;
|
||||||
|
@ -269,7 +269,7 @@ cmd_reconfig(char *name, int type)
|
|||||||
if (!unix_read_config(&conf, name))
|
if (!unix_read_config(&conf, name))
|
||||||
{
|
{
|
||||||
if (conf->err_msg)
|
if (conf->err_msg)
|
||||||
cli_msg(8002, "%s, line %d: %s", name, conf->err_lino, conf->err_msg);
|
cli_msg(8002, "%s, line %d: %s", conf->err_file_name, conf->err_lino, conf->err_msg);
|
||||||
else
|
else
|
||||||
cli_msg(8002, "%s: %m", name);
|
cli_msg(8002, "%s: %m", name);
|
||||||
config_free(conf);
|
config_free(conf);
|
||||||
|
Loading…
Reference in New Issue
Block a user