summaryrefslogtreecommitdiff
path: root/nest/rt-roa.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-03 14:12:00 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-01-03 14:12:00 +0100
commit0ff86d054efa8005c5df943acf6d2122781d3175 (patch)
tree7696541970877af8a14503b5a6441dd375aa16a8 /nest/rt-roa.c
parentcce6ba4daa2e00d6e1881a831d05cdc51249b4a7 (diff)
ROA: Fix reconfiguration
Diffstat (limited to 'nest/rt-roa.c')
-rw-r--r--nest/rt-roa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nest/rt-roa.c b/nest/rt-roa.c
index 0fd89667..bf457e30 100644
--- a/nest/rt-roa.c
+++ b/nest/rt-roa.c
@@ -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)