0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

ROA: Fix reconfiguration

This commit is contained in:
Ondrej Zajicek (work) 2018-01-03 14:12:00 +01:00
parent cce6ba4daa
commit 0ff86d054e

View File

@ -306,10 +306,10 @@ void
roa_commit(struct config *new, struct config *old)
{
struct roa_table_config *cf;
struct roa_table *t;
struct roa_table *t, *tx;
if (old)
WALK_LIST(t, roa_table_list)
WALK_LIST_DELSAFE(t, tx, roa_table_list)
{
struct symbol *sym = cf_find_symbol(new, t->name);
if (sym && sym->class == SYM_ROA)