diff options
Diffstat (limited to 'proto/static/static.c')
-rw-r--r-- | proto/static/static.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/proto/static/static.c b/proto/static/static.c index 6bae827b..74603a93 100644 --- a/proto/static/static.c +++ b/proto/static/static.c @@ -494,12 +494,8 @@ static_start(struct proto *P) proto_notify_state(P, PS_UP); WALK_LIST(r, cf->routes) - { - struct lp_state lps; - lp_save(tmp_linpool, &lps); - static_add_rte(p, r); - lp_restore(tmp_linpool, &lps); - } + TMP_SAVED + static_add_rte(p, r); return PS_UP; } |