Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
luckman212 committed May 8, 2022
1 parent 9410b06 commit 80a251d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/local/www/status_dhcp_leases.php
Expand Up @@ -238,7 +238,7 @@

if ($data['act'] != $static_string) {
foreach ($config['dhcpd'] as $dhcpif => $dhcpifconf) {
if (!is_array($dhcpifconf['range'])) {
if (!is_array($dhcpifconf['range']) || !isset($dhcpifconf['enable'])) {
continue;
}
if (is_inrange_v4($data['ip'], $dhcpifconf['range']['from'], $dhcpifconf['range']['to'])) {
Expand Down

0 comments on commit 80a251d

Please sign in to comment.