Commit dd37e6c5 authored by Francis Dupont's avatar Francis Dupont

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

parent 36f587fd
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment