forked from Mirror/frr
config: fix missing case when reporting version 'configured with'
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
This commit is contained in:
parent
05c17eff06
commit
4b050cb080
|
@ -847,7 +847,7 @@ AC_ARG_WITH([crypto],
|
|||
AC_ARG_WITH([frr-format],
|
||||
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]))
|
||||
|
||||
#if openssl, else use the internal
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue