mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
dhcp: fix crash report in v6 leases status
This commit is contained in:
parent
c2efcd3c76
commit
b73610bc24
@ -343,8 +343,7 @@ if(count($pools) > 0) {
|
||||
}
|
||||
|
||||
foreach($config['interfaces'] as $ifname => $ifarr) {
|
||||
if (is_array($config['dhcpdv6'][$ifname]) &&
|
||||
is_array($config['dhcpdv6'][$ifname]['staticmap'])) {
|
||||
if (isset($config['dhcpdv6'][$ifname]['staticmap'])) {
|
||||
foreach($config['dhcpdv6'][$ifname]['staticmap'] as $static) {
|
||||
$slease = array();
|
||||
$slease['ip'] = $static['ipaddrv6'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user