summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index f6d2ca0f..132057fe 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -3946,10 +3946,8 @@ rt_next_hop_update(struct rtable_private *tab)
birdloop_flag(tab->loop, RTF_NHU);
return;
}
- lp_state lps;
- lp_save(tmp_linpool, &lps);
- max_feed -= rt_next_hop_update_net(tab, n);
- lp_restore(tmp_linpool, &lps);
+ TMP_SAVED
+ max_feed -= rt_next_hop_update_net(tab, n);
}
FIB_ITERATE_END;