2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-01 14:35:29 +00:00

[#2040] fixed indentation, spaces and typos

This commit is contained in:
Razvan Becheriu
2021-09-03 17:05:52 +03:00
parent d3d457c806
commit 6ce29f3a8f
3 changed files with 16 additions and 15 deletions

View File

@@ -947,7 +947,7 @@ The Name Change Request statistics are:
- ``ncr-received`` - received valid NCRs - ``ncr-received`` - received valid NCRs
- ``ncr-invalid`` - received invalid NCRs - ``ncr-invalid`` - received invalid NCRs
- ``ncr-error`` - errors in NCR receptions other than I/) cancel on shutdown - ``ncr-error`` - errors in NCR receptions other than I/O cancel on shutdown
DNS Update Statistics DNS Update Statistics
--------------------- ---------------------
@@ -974,7 +974,7 @@ The per TSIG key DNS update statistics are:
timeout timeout
The name of a per key statistics is ``key[<key-DNS-name>].<stat-name>``, The name of a per key statistics is ``key[<key-DNS-name>].<stat-name>``,
for instance he name of the ``update-sent`` statistics for the for instance the name of the ``update-sent`` statistics for the
``key.example.com.`` TSIG key is ``key[key.example.com.].update-sent``. ``key.example.com.`` TSIG key is ``key[key.example.com.].update-sent``.
DHCP-DDNS Server Limitations DHCP-DDNS Server Limitations

View File

@@ -340,8 +340,8 @@ D2Process::checkQueueStatus() {
case D2QueueMgr::STOPPED_QUEUE_FULL: { case D2QueueMgr::STOPPED_QUEUE_FULL: {
// Resume receiving once the queue has decreased by twenty // Resume receiving once the queue has decreased by twenty
// percent. This is an arbitrary choice. @todo this value should // percent. This is an arbitrary choice.
// probably be configurable. // @todo this value should probably be configurable.
size_t threshold = (((queue_mgr_->getMaxQueueSize() size_t threshold = (((queue_mgr_->getMaxQueueSize()
* QUEUE_RESTART_PERCENT)) / 100); * QUEUE_RESTART_PERCENT)) / 100);
if (queue_mgr_->getQueueSize() <= threshold) { if (queue_mgr_->getQueueSize() <= threshold) {
@@ -412,7 +412,7 @@ D2Process::reconfigureQueueMgr() {
const D2ParamsPtr& d2_params = getD2CfgMgr()->getD2Params(); const D2ParamsPtr& d2_params = getD2CfgMgr()->getD2Params();
// Warn the user if the server address is not the loopback. // Warn the user if the server address is not the loopback.
/// @todo Remove this once we provide a secure mechanism. // @todo Remove this once we provide a secure mechanism.
std::string ip_address = d2_params->getIpAddress().toText(); std::string ip_address = d2_params->getIpAddress().toText();
if (ip_address != "127.0.0.1" && ip_address != "::1") { if (ip_address != "127.0.0.1" && ip_address != "::1") {
LOG_WARN(d2_logger, DHCP_DDNS_NOT_ON_LOOPBACK).arg(ip_address); LOG_WARN(d2_logger, DHCP_DDNS_NOT_ON_LOOPBACK).arg(ip_address);
@@ -424,7 +424,7 @@ D2Process::reconfigureQueueMgr() {
d2_params->getPort(), d2_params->getPort(),
d2_params->getNcrFormat(), true); d2_params->getNcrFormat(), true);
} else { } else {
/// @todo Add TCP/IP once it's supported // @todo Add TCP/IP once it's supported
// We should never get this far but if we do deal with it. // We should never get this far but if we do deal with it.
isc_throw(DProcessBaseError, "Unsupported NCR listener protocol:" isc_throw(DProcessBaseError, "Unsupported NCR listener protocol:"
<< dhcp_ddns::ncrProtocolToString(d2_params-> << dhcp_ddns::ncrProtocolToString(d2_params->
@@ -432,8 +432,9 @@ D2Process::reconfigureQueueMgr() {
} }
// Now start it. This assumes that starting is a synchronous, // Now start it. This assumes that starting is a synchronous,
// blocking call that executes quickly. @todo Should that change then // blocking call that executes quickly.
// we will have to expand the state model to accommodate this. // @todo Should that change then we will have to expand the state model
// to accommodate this.
queue_mgr_->startListening(); queue_mgr_->startListening();
} catch (const isc::Exception& ex) { } catch (const isc::Exception& ex) {
// Queue manager failed to initialize and therefore not listening. // Queue manager failed to initialize and therefore not listening.