]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Display Build-Info in cache manager info report
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 8 Sep 2013 03:22:37 +0000 (21:22 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 8 Sep 2013 03:22:37 +0000 (21:22 -0600)
This info can be quite useful for tracking which patched build of Squid
is being used to produce the report.

src/stat.cc

index 94e800e4fda64c8f4bc600618c9434b043519c30..59db7e56a2b78a66b331cc8639db6d79b231e75d 100644 (file)
@@ -673,6 +673,8 @@ DumpInfo(Mgr::InfoActionData& stats, StoreEntry* sentry)
     storeAppendPrintf(sentry, "Squid Object Cache: Version %s\n",
                       version_string);
 
+    storeAppendPrintf(sentry, "Build Info: " SQUID_BUILD_INFO "\n");
+
 #if _SQUID_WINDOWS_
     if (WIN32_run_mode == _WIN_SQUID_RUN_MODE_SERVICE) {
         storeAppendPrintf(sentry,"\nRunning as %s Windows System Service on %s\n",