From: Ondrej Zajicek Date: Sun, 15 Apr 2012 13:13:12 +0000 (+0200) Subject: Fix static protocol w.r.t. some recent changes in protocol ahooks. X-Git-Tag: v1.3.8~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d360f129e393298ff3e5309ec06a3baf170784fb;p=thirdparty%2Fbird.git Fix static protocol w.r.t. some recent changes in protocol ahooks. --- diff --git a/proto/static/static.c b/proto/static/static.c index aaa9bfad7..6a027f503 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;