|
@@ -108,9 +108,12 @@ class BaseKea implements KeaConfigInterface
|
|
|
foreach ($subnets as $subnet) {
|
|
|
$pools = [];
|
|
|
foreach ($subnet->getIpPool() as $pool) {
|
|
|
- $pools[] = [
|
|
|
- 'pool' => $pool->getFirstIp() . ' - ' . $pool->getLastIp(),
|
|
|
- ];
|
|
|
+ // only add non static pools
|
|
|
+ if ($pool->getIsStatic() == false) {
|
|
|
+ $pools[] = [
|
|
|
+ 'pool' => $pool->getFirstIp() . ' - ' . $pool->getLastIp(),
|
|
|
+ ];
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
$hostType = $subnet->getAllowedHostType();
|