]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
vici: Allow maximum vici message size configuration via compile option
authorThomas Egerer <thomas.egerer@secunet.com>
Tue, 7 Apr 2020 18:35:57 +0000 (20:35 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 14 Apr 2020 14:55:49 +0000 (16:55 +0200)
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
src/libcharon/plugins/vici/vici_socket.h

index 872783665928617a03a14851ea56cf9577707cfd..e82d43dd77d0f779aa2c8799ac7e237b285fbcfa 100644 (file)
@@ -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;