]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
fixup! Channel: configurable feed block size
authorMaria Matejka <mq@ucw.cz>
Sun, 7 May 2023 21:39:03 +0000 (23:39 +0200)
committerMaria Matejka <mq@ucw.cz>
Sun, 7 May 2023 21:39:03 +0000 (23:39 +0200)
nest/rt-table.c

index 085d25989cc6b89ddb5c964942f6c2110716bc65..c1bb1588e2561072b1257fc9a65003644c20eef0 100644 (file)
@@ -4248,7 +4248,7 @@ typedef struct {
 static int
 rt_prepare_feed(struct rt_table_export_hook *c, net *n, rt_feed_block *b)
 {
-  uint bs = c->h.req->feed_block_size;
+  uint bs = c->h.req->feed_block_size ?: 16384;
 
   if (n->routes)
   {