From d3456b8d85160167c56b1fbc900b11ad67e033a8 Mon Sep 17 00:00:00 2001 From: Matthew Smith Date: Tue, 23 Aug 2022 15:46:25 +0000 Subject: vlib: allow longer version string Type: improvement When trying to use a version string in a downstream build that appends a timestamp to the standard version string, compiling fails because the version string is too long for the version and version_required fields in vlib_plugin_registration_t. Increase the size of those arrays from 32 to 64 chars. Signed-off-by: Matthew Smith Change-Id: I3632139e5ae7110aa4769359f380ad29522ad4ed --- src/vlib/unix/plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/vlib/unix/plugin.h') diff --git a/src/vlib/unix/plugin.h b/src/vlib/unix/plugin.h index 2c8a2f2083c..f353097d941 100644 --- a/src/vlib/unix/plugin.h +++ b/src/vlib/unix/plugin.h @@ -61,8 +61,8 @@ typedef struct CLIB_CACHE_LINE_ALIGN_MARK (cacheline0); u8 default_disabled : 1; u8 deep_bind : 1; - const char version[32]; - const char version_required[32]; + const char version[64]; + const char version_required[64]; const char overrides[256]; const char *early_init; const char *description; -- cgit 1.2.3-korg