diff options
author | Matthew Smith <mgsmith@netgate.com> | 2022-08-23 15:46:25 +0000 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2022-08-24 15:17:16 +0000 |
commit | d3456b8d85160167c56b1fbc900b11ad67e033a8 (patch) | |
tree | 50612e10b742d433e3d9eb2121bdc13deff8c999 | |
parent | 4b4aded6afc8abce602cd826c52ec28beb3b7ec0 (diff) |
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
-rw-r--r-- | src/vlib/unix/plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |