From: Ondrej Zajicek (work) Date: Wed, 3 Jan 2018 13:12:00 +0000 (+0100) Subject: ROA: Fix reconfiguration X-Git-Tag: v1.6.4~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ff86d054efa8005c5df943acf6d2122781d3175;p=thirdparty%2Fbird.git ROA: Fix reconfiguration --- diff --git a/nest/rt-roa.c b/nest/rt-roa.c index 0fd896672..bf457e309 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)