]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fixed stopping of import request with no imports in idle table
authorMaria Matejka <mq@ucw.cz>
Thu, 2 Mar 2023 10:48:17 +0000 (11:48 +0100)
committerMaria Matejka <mq@ucw.cz>
Tue, 4 Apr 2023 15:00:58 +0000 (17:00 +0200)
nest/rt-table.c

index fab8f06df705ee13b4df9f690ec11d94cc08c901..3428c122bb68a709acfa4ac42a84a61350fede55 100644 (file)
@@ -3072,7 +3072,7 @@ again:
     }
 
   /* In some cases, we may want to directly proceed to export cleanup */
-  if (EMPTY_LIST(tab->exporter.e.hooks) && tab->wait_counter)
+  if (tab->wait_counter && (EMPTY_LIST(tab->exporter.e.hooks) || !tab->exporter.first))
     rt_export_cleanup(tab);
 }