]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] inSubnet() -> inRange() in comments trac3723_base
authorFrancis Dupont <fdupont@isc.org>
Tue, 24 Feb 2015 22:00:26 +0000 (23:00 +0100)
committerFrancis Dupont <fdupont@isc.org>
Tue, 24 Feb 2015 22:00:26 +0000 (23:00 +0100)
src/lib/dhcpsrv/subnet.h

index b8bebc35da248bbeb539ad5f9e5a372af902cc4c..fb7de0f2f0c2b0e1e3ffcc8edf833b5644796d5e 100644 (file)
@@ -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