From: Piotrek Zadroga Date: Tue, 20 Jun 2023 09:06:14 +0000 (+0200) Subject: [#2795] update comments X-Git-Tag: Kea-2.4.0~95 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8da33bf92d2a28178da752aab20914bbe07842a5;p=thirdparty%2Fkea.git [#2795] update comments --- diff --git a/src/lib/dhcpsrv/mysql_host_data_source.cc b/src/lib/dhcpsrv/mysql_host_data_source.cc index bf5c541c9c..8014c85e30 100644 --- a/src/lib/dhcpsrv/mysql_host_data_source.cc +++ b/src/lib/dhcpsrv/mysql_host_data_source.cc @@ -2489,7 +2489,8 @@ TaggedStatementArray tagged_statements = { { // Retrieves host information, IPv6 reservations and DHCPv6 options // associated with a host using IPv6 prefix. This query - // returns host information for a single host. However, multiple rows + // may return host information for one or more host reservations. Even + // if only one host is found, multiple rows // are returned due to left joining IPv6 reservations and DHCPv6 options. // The number of rows returned is multiplication of number of existing // IPv6 reservations and DHCPv6 options. diff --git a/src/lib/dhcpsrv/pgsql_host_data_source.cc b/src/lib/dhcpsrv/pgsql_host_data_source.cc index d8d636acce..1f0b32bbe3 100644 --- a/src/lib/dhcpsrv/pgsql_host_data_source.cc +++ b/src/lib/dhcpsrv/pgsql_host_data_source.cc @@ -1817,7 +1817,8 @@ TaggedStatementArray tagged_statements = { { // PgSqlHostDataSourceImpl::GET_HOST_ADDR6 // Retrieves host information, IPv6 reservations and DHCPv6 options // associated with a host using IPv6 prefix. This query - // returns host information for a single host. However, multiple rows + // may return host information for one or more host reservations. Even + // if only one host is found, multiple rows // are returned due to left joining IPv6 reservations and DHCPv6 options. // The number of rows returned is multiplication of number of existing // IPv6 reservations and DHCPv6 options.