summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2019-05-31 16:20:38 -0400
committerGitHub <noreply@github.com>2019-05-31 16:20:38 -0400
commit32e4ce5fd522000e285dcda2da1038a4f49d731c (patch)
treeaca3c69450935a0528bb6618f6322a35292b452e /lib/zclient.h
parentce231fbc872650f5ecd2415b99df259fa2f81377 (diff)
parentf3f45626125b117b4dc25498fced056da41bb493 (diff)
Merge pull request #4435 from donaldsharp/zclient_buffer_sizing
lib, zebra: Ensure route encoding has enough space
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 09f0acad84..c61c8d4226 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -39,7 +39,7 @@
#include "mlag.h"
/* For input/output buffer to zebra. */
-#define ZEBRA_MAX_PACKET_SIZ 16384
+#define ZEBRA_MAX_PACKET_SIZ 16384U
/* Zebra header size. */
#define ZEBRA_HEADER_SIZE 10