diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-22 14:26:01 -0500 |
|---|---|---|
| committer | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-22 14:28:49 -0500 |
| commit | 4b050cb08079446df8cbbe490ea2f0160eb65bba (patch) | |
| tree | e3d007246f47b78f6fa2c5ffe8b034693a8b6e80 /lib | |
| parent | 05c17eff06536e750d43829ccded5c9e8f0f9ca4 (diff) | |
config: fix missing case when reporting version 'configured with'
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libfrr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libfrr.c b/lib/libfrr.c index 07cd4a5306..10a9c5d5f2 100644 --- a/lib/libfrr.c +++ b/lib/libfrr.c @@ -1463,7 +1463,10 @@ void _libfrr_version(void) const char banner[] = FRR_FULL_NAME " " FRR_VERSION ".\n" FRR_COPYRIGHT GIT_INFO "\n" - "configured with:\n " FRR_CONFIG_ARGS "\n"; +#ifdef ENABLE_VERSION_BUILD_CONFIG + "configured with:\n " FRR_CONFIG_ARGS "\n" +#endif + ; write(1, banner, sizeof(banner) - 1); _exit(0); } |
