mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
PHP7 - Resolve Warning: A non-numeric value encountered in /usr/local/bin/dhcpd_gather_stats.php
This commit is contained in:
parent
f156083a8b
commit
68ba7d894d
@ -199,7 +199,7 @@ if (is_array($config['dhcpd'][$argv[1]])) {
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (is_inrange_v4($data['ip'], $subnet_start, $subnet_end)) {
|
||||
if (is_inrange_v4(intval($data['ip']), $subnet_start, $subnet_end)) {
|
||||
$result['static'] = $result['static'] + 1;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user