Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
be77596d
Commit
be77596d
authored
Jun 19, 2015
by
Francis Dupont
Browse files
[3882a] Updated extended version code
parent
a3ab0e00
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/bin/d2/d_controller.cc
View file @
be77596d
...
...
@@ -474,12 +474,12 @@ DControllerBase::getVersion(bool extended) {
tmp
<<
isc
::
cryptolink
::
CryptoLink
::
getVersion
()
<<
std
::
endl
;
tmp
<<
"database:"
<<
std
::
endl
;
#ifdef HAVE_MYSQL
tmp
<<
"MySQL backend"
<<
std
::
endl
;
tmp
<<
isc
::
dhcp
::
MySqlLeaseMgr
::
getDBVersion
()
<<
std
::
endl
;
#endif
#ifdef HAVE_PGSQL
tmp
<<
"PostgreSQL backend"
<<
std
::
endl
;
tmp
<<
isc
::
dhcp
::
PgSqlLeaseMgr
::
getDBVersion
()
<<
std
::
endl
;
#endif
tmp
<<
"Memfile backend"
;
tmp
<<
isc
::
dhcp
::
Memfile_LeaseMgr
::
getDBVersion
()
;
// @todo: more details about database runtime
}
...
...
src/bin/dhcp4/dhcp4_srv.cc
View file @
be77596d
...
...
@@ -2272,15 +2272,15 @@ Dhcpv4Srv::getVersion(bool extended) {
tmp
<<
"linked with:"
<<
endl
;
tmp
<<
Logger
::
getVersion
()
<<
endl
;
tmp
<<
CryptoLink
::
getVersion
()
<<
endl
;
tmp
<<
"database:"
<<
endl
;
#ifdef HAVE_MYSQL
tmp
<<
"database: MySQL"
;
#else
#ifdef HAVE_PGSQL
tmp
<<
"database: PostgreSQL"
;
#else
tmp
<<
"no database"
;
tmp
<<
MySqlLeaseMgr
::
getDBVersion
()
<<
endl
;
#endif
#ifdef HAVE_PGSQL
tmp
<<
PgSqlLeaseMgr
::
getDBVersion
()
<<
endl
;
#endif
tmp
<<
Memfile_LeaseMgr
::
getDBVersion
();
// @todo: more details about database runtime
}
...
...
src/bin/dhcp6/dhcp6_srv.cc
View file @
be77596d
...
...
@@ -2854,15 +2854,15 @@ Dhcpv6Srv::getVersion(bool extended) {
tmp
<<
"linked with:"
<<
endl
;
tmp
<<
Logger
::
getVersion
()
<<
endl
;
tmp
<<
CryptoLink
::
getVersion
()
<<
endl
;
tmp
<<
"database:"
<<
endl
;
#ifdef HAVE_MYSQL
tmp
<<
"database: MySQL"
;
#else
#ifdef HAVE_PGSQL
tmp
<<
"database: PostgreSQL"
;
#else
tmp
<<
"no database"
;
tmp
<<
MySqlLeaseMgr
::
getDBVersion
()
<<
endl
;
#endif
#ifdef HAVE_PGSQL
tmp
<<
PgSqlLeaseMgr
::
getDBVersion
()
<<
endl
;
#endif
tmp
<<
Memfile_LeaseMgr
::
getDBVersion
();
// @todo: more details about database runtime
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment