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 <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2018-03-06 16:07:14 -05:00
parent 54085eafeb
commit db4a24ddc1

View File

@ -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