From d64788d9c610163756cac6c91220875e51cba3ef Mon Sep 17 00:00:00 2001 From: Lukas Tribus Date: Mon, 12 Sep 2016 21:42:00 +0000 Subject: [PATCH] BUG/MINOR: displayed PCRE version is running release pcre_version() returns the running PCRE release, not the release haproxy was built with. This simple string fix should be backported to supported releases, as the output may be confusing. --- src/haproxy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/haproxy.c b/src/haproxy.c index 6665ba76e..98a6a17ee 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -352,7 +352,7 @@ void display_build_opts() #endif #ifdef USE_PCRE - printf("Built with PCRE version : %s", pcre_version()); + printf("Running on PCRE version : %s", pcre_version()); printf("\nPCRE library supports JIT : "); #ifdef USE_PCRE_JIT { -- 2.47.3