summaryrefslogtreecommitdiffstats
path: root/src/bin/dhcp4/config_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/dhcp4/config_parser.cc')
-rw-r--r--src/bin/dhcp4/config_parser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/dhcp4/config_parser.cc b/src/bin/dhcp4/config_parser.cc
index 76181c213c..a684167938 100644
--- a/src/bin/dhcp4/config_parser.cc
+++ b/src/bin/dhcp4/config_parser.cc
@@ -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();