diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-08-23 14:45:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-23 14:45:33 -0400 |
| commit | a04cca6f74f792a2eadd820406bd2f8002da41b5 (patch) | |
| tree | 7307b850cff1b5f6ab8f6e8eab9b1efe2bb655f0 /lib/libfrr.c | |
| parent | 83a60e7e20449b04a996ba53bd43c1659b6fbc0f (diff) | |
| parent | 4b050cb08079446df8cbbe490ea2f0160eb65bba (diff) | |
Merge pull request #16633 from Jafaral/fix-version-build
config: fix missing case when reporting version 'configured with'
Diffstat (limited to 'lib/libfrr.c')
| -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); } |
