Commit e01f1d6f authored by Francis Dupont's avatar Francis Dupont
Browse files

[5104] Fix core

parent 6fb22c27
......@@ -367,7 +367,7 @@ bool
Subnet::inPool(Lease::Type type, const isc::asiolink::IOAddress& addr) const {
// Let's start with checking if it even belongs to that subnet.
if (!inRange(addr)) {
if ((type != Lease::TYPE_PD) && !inRange(addr)) {
return (false);
Supports Markdown
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