mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 09:41:54 +00:00
Fix static protocol w.r.t. some recent changes in protocol ahooks.
This commit is contained in:
parent
bf2abe2f51
commit
d360f129e3
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user