diff options
author | Andrei Pavel <andrei@isc.org> | 2024-04-23 18:57:05 +0200 |
---|---|---|
committer | Andrei Pavel <andrei@isc.org> | 2024-04-24 14:23:48 +0200 |
commit | 677f8a8f0e4659b3a1ad2e4b1db8e6c0c6b6ee00 (patch) | |
tree | c3e4d90051f4a4b567de05f9cce669c2e7bc3a67 /src/bin/lfc | |
parent | [#3254] show premium source in extended version (diff) | |
download | kea-677f8a8f0e4659b3a1ad2e4b1db8e6c0c6b6ee00.tar.xz kea-677f8a8f0e4659b3a1ad2e4b1db8e6c0c6b6ee00.zip |
[#3254] consistent version output across executables
- replace VERSION with PACKAGE_VERSION in src/bin/admin to avoid
overlap with VERSION used in src/share/database.
- add -V to kea-admin
- add -V to kea-shell
- add -V to keactrl
- add -V to perfdhcp
- removed getVersionAddendum from d2 and added the openssl version to
the output of other process versions since it's not only used by d2
- make all -V outputs consistent. Some are showing only core version and
are missing premium version which is fine since they are the
executables that don't have something to do with premium directly
anyway.
Diffstat (limited to 'src/bin/lfc')
-rw-r--r-- | src/bin/lfc/lfc_controller.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/lfc/lfc_controller.cc b/src/bin/lfc/lfc_controller.cc index d73e8baec4..4aa06514b5 100644 --- a/src/bin/lfc/lfc_controller.cc +++ b/src/bin/lfc/lfc_controller.cc @@ -329,7 +329,7 @@ LFCController::getVersion(const bool extended) const{ db_version = Memfile_LeaseMgr::getDBVersion(Memfile_LeaseMgr::V6); } - version_stream << std::endl << EXTENDED_VERSION; + version_stream << " (" << EXTENDED_VERSION << ")"; if (!db_version.empty()) { db_version = "backend: " + db_version; version_stream << std::endl << db_version; |