]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
ROA: Fix reconfiguration
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 3 Jan 2018 13:12:00 +0000 (14:12 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 3 Jan 2018 13:12:00 +0000 (14:12 +0100)
nest/rt-roa.c

index 0fd89667201d29340682cfbebe921cb43e811ec6..bf457e309eb4c877c495cbc7693fdd9b6509d142 100644 (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)