]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
CLI fix to break busy-loop waiting for corked show-route exports
authorMaria Matejka <mq@ucw.cz>
Tue, 11 Oct 2022 09:06:32 +0000 (11:06 +0200)
committerMaria Matejka <mq@ucw.cz>
Wed, 12 Oct 2022 08:05:14 +0000 (10:05 +0200)
nest/cli.c

index 31deef03f289a482093e4157d6ebdb8429e2870f..469d45b62c4a560f1e572c5c2d06461490960677 100644 (file)
@@ -302,7 +302,8 @@ cli_event(void *data)
        cli_command(c);
     }
 
-  cli_write_trigger(c);
+  if (c->tx_pos)
+    cli_write_trigger(c);
 }
 
 cli *