From: Thomas Egerer Date: Tue, 7 Apr 2020 18:35:57 +0000 (+0200) Subject: vici: Allow maximum vici message size configuration via compile option X-Git-Tag: 5.9.0dr1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2c15b7bf9da293b5e5d96a18fe89a115d985b73;p=thirdparty%2Fstrongswan.git vici: Allow maximum vici message size configuration via compile option Signed-off-by: Thomas Egerer --- diff --git a/src/libcharon/plugins/vici/vici_socket.h b/src/libcharon/plugins/vici/vici_socket.h index 8727836659..e82d43dd77 100644 --- a/src/libcharon/plugins/vici/vici_socket.h +++ b/src/libcharon/plugins/vici/vici_socket.h @@ -26,7 +26,9 @@ /** * Maximum size of a single message exchanged. */ +#ifndef VICI_MESSAGE_SIZE_MAX #define VICI_MESSAGE_SIZE_MAX (512 * 1024) +#endif typedef struct vici_socket_t vici_socket_t;