2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 22:15:23 +00:00

[2320] Subnet4 and Subnet6 have much more common code now.

This commit is contained in:
Tomek Mrugalski
2012-12-20 21:57:55 +01:00
parent 5054d0ed85
commit 17553447e5
10 changed files with 161 additions and 176 deletions

View File

@@ -891,7 +891,7 @@ public:
Subnet4Ptr subnet(new Subnet4(addr, len, t1, t2, valid));
for (PoolStorage::iterator it = pools_.begin(); it != pools_.end(); ++it) {
subnet->addPool4(*it);
subnet->addPool(*it);
}
const Subnet::OptionContainer& options = subnet->getOptions();