diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2012-04-15 15:13:12 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2012-04-15 15:13:12 +0200 |
commit | d360f129e393298ff3e5309ec06a3baf170784fb (patch) | |
tree | dae0687aa169716fe0886121a25677155da3e168 /proto/static/static.c | |
parent | bf2abe2f515d7b7aaed5fb4f37af82169adcd2f2 (diff) |
Fix static protocol w.r.t. some recent changes in protocol ahooks.
Diffstat (limited to 'proto/static/static.c')
-rw-r--r-- | proto/static/static.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proto/static/static.c b/proto/static/static.c index aaa9bfad..6a027f50 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -224,6 +224,9 @@ static_start(struct proto *p) if (cf->igp_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) static_add(p, cf, r); return PS_UP; |