mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Merge pull request #16633 from Jafaral/fix-version-build
config: fix missing case when reporting version 'configured with'
This commit is contained in:
commit
a04cca6f74
@ -847,7 +847,7 @@ AC_ARG_WITH([crypto],
|
|||||||
AC_ARG_WITH([frr-format],
|
AC_ARG_WITH([frr-format],
|
||||||
AS_HELP_STRING([--with-frr-format[=<.../frr-format.so>]], [use frr-format GCC plugin]))
|
AS_HELP_STRING([--with-frr-format[=<.../frr-format.so>]], [use frr-format GCC plugin]))
|
||||||
|
|
||||||
AC_ARG_ENABLE([version-build-config],
|
AC_ARG_ENABLE([version_build_config],
|
||||||
AS_HELP_STRING([--disable-version-build-config], [do not include build configs in show version command]))
|
AS_HELP_STRING([--disable-version-build-config], [do not include build configs in show version command]))
|
||||||
|
|
||||||
#if openssl, else use the internal
|
#if openssl, else use the internal
|
||||||
|
@ -1463,7 +1463,10 @@ void _libfrr_version(void)
|
|||||||
const char banner[] =
|
const char banner[] =
|
||||||
FRR_FULL_NAME " " FRR_VERSION ".\n"
|
FRR_FULL_NAME " " FRR_VERSION ".\n"
|
||||||
FRR_COPYRIGHT GIT_INFO "\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);
|
write(1, banner, sizeof(banner) - 1);
|
||||||
_exit(0);
|
_exit(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user