]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2795] update comments
authorPiotrek Zadroga <piotrek@isc.org>
Thu, 22 Jun 2023 11:17:11 +0000 (13:17 +0200)
committerPiotrek Zadroga <piotrek@isc.org>
Mon, 26 Jun 2023 15:30:59 +0000 (15:30 +0000)
src/lib/dhcpsrv/host_mgr.h
src/lib/dhcpsrv/mysql_host_data_source.cc
src/lib/dhcpsrv/pgsql_host_data_source.cc

index b4bdd95e6731b09515487293f861e9acd22aa666..f6e6501d1d4c6d1af027bd67a1659b435f0e86cf 100644 (file)
@@ -646,10 +646,10 @@ public:
     virtual ConstHostCollection
     getAll6(const asiolink::IOAddress& address) const;
 
-    /// @brief Returns a collection of hosts using the specified IPv6 address.
+    /// @brief Returns a collection of hosts using the specified IPv6 address/prefix.
     ///
     /// This method may return multiple @c Host objects if they are connected to
-    /// different subnets or if there are multiple hosts with the same IPv6 address.
+    /// different subnets or if there are multiple hosts with the same IPv6 address/prefix.
     ///
     /// If matching reservations are both in the primary and the alternate
     /// data source, all of them are returned. The reservations from the
index 6995d068ed3c8db46f6dadaf6bdd4dabc17496e6..0b6b977afab82a011154ba21c9779b8b2d5b6fc7 100644 (file)
@@ -2078,7 +2078,7 @@ public:
         GET_HOST_SUBID_ADDR,       // Gets host by IPv4 SubnetID and IPv4 address
         GET_HOST_PREFIX,           // Gets host by IPv6 prefix
         GET_HOST_SUBID6_ADDR,      // Gets host by IPv6 SubnetID and IPv6 prefix
-        GET_HOST_ADDR6,            // Gets host by IPv6 address
+        GET_HOST_ADDR6,            // Gets host by IPv6 address/prefix
         GET_HOST_SUBID4,           // Gets hosts by IPv4 SubnetID
         GET_HOST_SUBID6,           // Gets hosts by IPv6 SubnetID
         GET_HOST_HOSTNAME,         // Gets hosts by hostname
@@ -2488,7 +2488,7 @@ TaggedStatementArray tagged_statements = { {
             "ORDER BY h.host_id, o.option_id, r.reservation_id"},
 
     // Retrieves host information, IPv6 reservations and DHCPv6 options
-    // associated with a host using IPv6 address. This query
+    // associated with a host using IPv6 address/prefix. This query
     // 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.
index 7b1b8f0791852a5d76760bcff4f090768b03b6e6..f4934bc2a1ce8a86ee20d0d1ec3df9b6f3043047 100644 (file)
@@ -1401,7 +1401,7 @@ public:
         GET_HOST_SUBID_ADDR,       // Gets host by IPv4 SubnetID and IPv4 address
         GET_HOST_PREFIX,           // Gets host by IPv6 prefix
         GET_HOST_SUBID6_ADDR,      // Gets host by IPv6 SubnetID and IPv6 prefix
-        GET_HOST_ADDR6,            // Gets host by IPv6 address
+        GET_HOST_ADDR6,            // Gets host by IPv6 address/prefix
         GET_HOST_SUBID4,           // Gets hosts by IPv4 SubnetID
         GET_HOST_SUBID6,           // Gets hosts by IPv6 SubnetID
         GET_HOST_HOSTNAME,         // Gets hosts by hostname
@@ -1816,7 +1816,7 @@ TaggedStatementArray tagged_statements = { {
 
     // PgSqlHostDataSourceImpl::GET_HOST_ADDR6
     // Retrieves host information, IPv6 reservations and DHCPv6 options
-    // associated with a host using IPv6 address. This query
+    // associated with a host using IPv6 address/prefix. This query
     // 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.