Browse Source

[master] inSubnet() -> inRange() in comments

Francis Dupont 10 years ago
parent
commit
dd37e6c5f4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/lib/dhcpsrv/subnet.h

+ 3 - 3
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