Project

General

Profile

« Previous | Next » 

Revision 68ba7d89

Added by Steve Beaver about 7 years ago

PHP7 - Resolve Warning: A non-numeric value encountered in /usr/local/bin/dhcpd_gather_stats.php

View differences:

src/usr/local/bin/dhcpd_gather_stats.php
199 199
			}
200 200
		}
201 201
		else {
202
			if (is_inrange_v4($data['ip'], $subnet_start, $subnet_end)) {
202
			if (is_inrange_v4(intval($data['ip']), $subnet_start, $subnet_end)) {
203 203
				$result['static'] = $result['static'] + 1;
204 204
			}
205 205
		}

Also available in: Unified diff