From: Donald Sharp Date: Tue, 6 Mar 2018 21:07:14 +0000 (-0500) Subject: lib: Increase zapi buffer size X-Git-Tag: frr-5.0-dev~182^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=db4a24ddc1ae04af61e4be40e38c8deeab7639eb;p=matthieu%2Ffrr.git lib: Increase zapi buffer size The buffer size is currently 4k. Increase x4 times to allow for bigger messages to be sent over the zapi. The current size sufficient for most cases, but there are a couple of cases with installing data to the kernel ip rules where we will quickly hit this 4k size limit. I forsee flowspec getting close to this limit as well. Signed-off-by: Donald Sharp --- diff --git a/lib/zclient.h b/lib/zclient.h index d91b084e74..e0b39c88e8 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -37,7 +37,7 @@ #include "pw.h" /* For input/output buffer to zebra. */ -#define ZEBRA_MAX_PACKET_SIZ 4096 +#define ZEBRA_MAX_PACKET_SIZ 16384 /* Zebra header size. */ #define ZEBRA_HEADER_SIZE 10