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 <mgsmith@netgate.com>
Change-Id: I3632139e5ae7110aa4769359f380ad29522ad4ed
diff --git a/src/vlib/unix/plugin.h b/src/vlib/unix/plugin.h
index 2c8a2f2..f353097 100644
--- a/src/vlib/unix/plugin.h
+++ b/src/vlib/unix/plugin.h
@@ -61,8 +61,8 @@
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;