summaryrefslogtreecommitdiffstats
path: root/src/lib/dhcpsrv/cfg_subnets6.cc
diff options
context:
space:
mode:
authorMarcin Siodelski <marcin@isc.org>2023-04-05 10:28:26 +0200
committerMarcin Siodelski <marcin@isc.org>2023-04-19 18:26:04 +0200
commit5abd6990ce0c98a2ffc35804e414e6a4633b93be (patch)
tree5e266fb73253c50defa5f7a8dd47598fd10386bc /src/lib/dhcpsrv/cfg_subnets6.cc
parent[#2823] Common methods for instantiating allocators (diff)
downloadkea-5abd6990ce0c98a2ffc35804e414e6a4633b93be.tar.xz
kea-5abd6990ce0c98a2ffc35804e414e6a4633b93be.zip
[#2823] Config backend sets allocators
Diffstat (limited to 'src/lib/dhcpsrv/cfg_subnets6.cc')
-rw-r--r--src/lib/dhcpsrv/cfg_subnets6.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/cfg_subnets6.cc b/src/lib/dhcpsrv/cfg_subnets6.cc
index a86ee9222c..9632d2f88c 100644
--- a/src/lib/dhcpsrv/cfg_subnets6.cc
+++ b/src/lib/dhcpsrv/cfg_subnets6.cc
@@ -178,6 +178,8 @@ CfgSubnets6::merge(CfgOptionDefPtr cfg_def, CfgSharedNetworks6Ptr networks,
<< ", network does not exist");
}
}
+ // Instantiate the configured allocators and their states.
+ other_subnet->createAllocators();
}
}