mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[3966] Addressed review comments.
This commit is contained in:
@@ -231,17 +231,17 @@ A debug message issued when the server is attempting to delete a lease
|
||||
for the specified address from the memory file database for the specified
|
||||
address.
|
||||
|
||||
% DHCPSRV_MEMFILE_DELETE_EXPIRED_RECLAIMED4 deleting reclaimed leases expired more than %1 s ago
|
||||
% DHCPSRV_MEMFILE_DELETE_EXPIRED_RECLAIMED4 deleting reclaimed IPv4 leases that expired more than %1 seconds ago
|
||||
A debug message issued when the server is removing reclaimed DHCPv4
|
||||
leases which have expired longer than a specified period of time.
|
||||
The argument specified the number of seconds since leases' expiration
|
||||
before they can be removed.
|
||||
The argument is the amount of time Kea waits after a reclaimed
|
||||
lease expires before considering its removal.
|
||||
|
||||
% DHCPSRV_MEMFILE_DELETE_EXPIRED_RECLAIMED6 deleting reclaimed leases expired more than %1 s ago
|
||||
% DHCPSRV_MEMFILE_DELETE_EXPIRED_RECLAIMED6 deleting reclaimed IPv6 leases that expired more than %1 seconds ago
|
||||
A debug message issued when the server is removing reclaimed DHCPv6
|
||||
leases which have expired longer than a specified period of time.
|
||||
The argument specified the number of seconds since leases' expiration
|
||||
before they can be removed.
|
||||
The argument is the amount of time Kea waits after a reclaimed
|
||||
lease expires before considering its removal.
|
||||
|
||||
% DHCPSRV_MEMFILE_DELETE_EXPIRED_RECLAIMED_START starting deletion of %1 expired-reclaimed leases
|
||||
A debug message issued wheb the server has found expired-reclaimed
|
||||
@@ -266,12 +266,12 @@ A debug message issued when the server is attempting to obtain an IPv4
|
||||
lease from the memory file database for a client with the specified
|
||||
client ID, hardware address and subnet ID.
|
||||
|
||||
% DHCPSRV_MEMFILE_GET_EXPIRED4 obtaining expired IPv4 leases with limit %1
|
||||
% DHCPSRV_MEMFILE_GET_EXPIRED4 obtaining maximum %1 of expired IPv4 leases
|
||||
A debug message issued when the server is attempting to obtain expired
|
||||
IPv4 leases to reclaim them. The maximum number of leases to be retrieved
|
||||
is logged in the message.
|
||||
|
||||
% DHCPSRV_MEMFILE_GET_EXPIRED6 obtaining expired IPv6 leases with limit %1
|
||||
% DHCPSRV_MEMFILE_GET_EXPIRED6 obtaining maximum %1 of expired IPv6 leases
|
||||
A debug message issued when the server is attempting to obtain expired
|
||||
IPv6 leases to reclaim them. The maximum number of leases to be retrieved
|
||||
is logged in the message.
|
||||
@@ -401,17 +401,17 @@ connection including database name and username needed to access it
|
||||
A debug message issued when the server is attempting to delete a lease for
|
||||
the specified address from the MySQL database for the specified address.
|
||||
|
||||
% DHCPSRV_MYSQL_DELETE_EXPIRED_RECLAIMED4 deleting reclaimed leases expired more than %1 s ago
|
||||
% DHCPSRV_MYSQL_DELETE_EXPIRED_RECLAIMED4 deleting reclaimed IPv4 leases that expired more than %1 seconds ago
|
||||
A debug message issued when the server is removing reclaimed DHCPv4
|
||||
leases which have expired longer than a specified period of time.
|
||||
The argument specified the number of seconds since leases' expiration
|
||||
before they can be removed.
|
||||
The argument is the amount of time Kea waits after a reclaimed
|
||||
lease expires before considering its removal.
|
||||
|
||||
% DHCPSRV_MYSQL_DELETE_EXPIRED_RECLAIMED6 deleting reclaimed leases expired more than %1 s ago
|
||||
% DHCPSRV_MYSQL_DELETE_EXPIRED_RECLAIMED6 deleting reclaimed IPv6 leases that expired more than %1 seconds ago
|
||||
A debug message issued when the server is removing reclaimed DHCPv6
|
||||
leases which have expired longer than a specified period of time.
|
||||
The argument specified the number of seconds since leases' expiration
|
||||
before they can be removed.
|
||||
The argument is the amount of time Kea waits after a reclaimed
|
||||
lease expires before considering its removal.
|
||||
|
||||
% DHCPSRV_MYSQL_DELETED_EXPIRED_RECLAIMED deleted %1 reclaimed leases from the database
|
||||
A debug message issued when the server has removed a number of reclaimed
|
||||
@@ -431,12 +431,12 @@ A debug message issued when the server is attempting to obtain a set
|
||||
of IPv4 leases from the MySQL database for a client with the specified
|
||||
client identification.
|
||||
|
||||
% DHCPSRV_MYSQL_GET_EXPIRED4 obtaining expired IPv4 leases with limit %1
|
||||
% DHCPSRV_MYSQL_GET_EXPIRED4 obtaining maximum %1 of expired IPv4 leases
|
||||
A debug message issued when the server is attempting to obtain expired
|
||||
IPv4 leases to reclaim them. The maximum number of leases to be retrieved
|
||||
is logged in the message.
|
||||
|
||||
% DHCPSRV_MYSQL_GET_EXPIRED6 obtaining expired IPv6 leases with limit %1
|
||||
% DHCPSRV_MYSQL_GET_EXPIRED6 obtaining maximum %1 of expired IPv6 leases
|
||||
A debug message issued when the server is attempting to obtain expired
|
||||
IPv6 leases to reclaim them. The maximum number of leases to be retrieved
|
||||
is logged in the message.
|
||||
|
@@ -1389,7 +1389,7 @@ MySqlLeaseMgr::convertToDatabaseTime(const time_t cltt,
|
||||
|
||||
// Calculate expiry time. Store it in the 64-bit value so as we can detect
|
||||
// overflows.
|
||||
int64_t expire_time_64 = static_cast<int64_t>(cltt) +
|
||||
const int64_t expire_time_64 = static_cast<int64_t>(cltt) +
|
||||
static_cast<int64_t>(valid_lifetime);
|
||||
|
||||
// Even on 64-bit systems MySQL doesn't seem to accept the timestamps
|
||||
|
@@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2012-2014 Internet Systems Consortium, Inc. ("ISC")
|
||||
// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
|
||||
//
|
||||
// Permission to use, copy, modify, and/or distribute this software for any
|
||||
// purpose with or without fee is hereby granted, provided that the above
|
||||
|
Reference in New Issue
Block a user