From: Francis Dupont Date: Tue, 24 Feb 2015 22:00:26 +0000 (+0100) Subject: [master] inSubnet() -> inRange() in comments X-Git-Tag: trac3723_base X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd37e6c5f4f08a55635d3e5e8dfa8817999c202c;p=thirdparty%2Fkea.git [master] inSubnet() -> inRange() in comments --- diff --git a/src/lib/dhcpsrv/subnet.h b/src/lib/dhcpsrv/subnet.h index b8bebc35da..fb7de0f2f0 100644 --- a/src/lib/dhcpsrv/subnet.h +++ b/src/lib/dhcpsrv/subnet.h @@ -95,12 +95,12 @@ public: /// @brief checks if the specified address is in pools /// - /// Note the difference between inSubnet() and inPool(). For a given + /// Note the difference between inRange() and inPool(). For a given /// subnet (e.g. 2001::/64) there may be one or more pools defined /// that may or may not cover entire subnet, e.g. pool 2001::1-2001::10). - /// inPool() returning true implies inSubnet(), but the reverse implication + /// inPool() returning true implies inRange(), but the reverse implication /// is not always true. For the given example, 2001::1234:abcd would return - /// true for inSubnet(), but false for inPool() check. + /// true for inRange(), but false for inPool() check. /// /// @param type type of pools to iterate over /// @param addr this address will be checked if it belongs to any pools in