/// @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