summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorstilez <stilez@users.noreply.github.com>2016-01-13 10:56:12 +0000
committerstilez <stilez@users.noreply.github.com>2016-01-13 10:56:12 +0000
commita8942d21bddf2c23bb5c9aef27666c78a863e8b1 (patch)
tree9d070368ef763aa27e89cd42f38ad399fd759f60 /src/usr
parente7a03f449e221e12ad3b241c9c41d879e91e8910 (diff)
downloadpfsense-a8942d21bddf2c23bb5c9aef27666c78a863e8b1.zip
pfsense-a8942d21bddf2c23bb5c9aef27666c78a863e8b1.tar.gz
Remove spaces at EOL as requested
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/bin/dhcpd_gather_stats.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/usr/local/bin/dhcpd_gather_stats.php b/src/usr/local/bin/dhcpd_gather_stats.php
index 1b94849..8903559 100644
--- a/src/usr/local/bin/dhcpd_gather_stats.php
+++ b/src/usr/local/bin/dhcpd_gather_stats.php
@@ -187,16 +187,16 @@ if (is_array($config['dhcpd'][$argv[1]])) {
}
$ifcfgip = get_interface_ip($dhcpif);
$ifcfgsn = get_interface_subnet($dhcpif);
- $subnet_start = gen_subnetv4($ifcfgip, $ifcfgsn);
- $subnet_end = gen_subnetv4_max($ifcfgip, $ifcfgsn);
+ $subnet_start = gen_subnetv4($ifcfgip, $ifcfgsn);
+ $subnet_end = gen_subnetv4_max($ifcfgip, $ifcfgsn);
- $result['range'] = (ip2ulong($config['dhcpd'][$dhcpif]['range']['to'])) - (ip2ulong($config['dhcpd'][$dhcpif]['range']['from'])) ;
+ $result['range'] = (ip2ulong($config['dhcpd'][$dhcpif]['range']['to'])) - (ip2ulong($config['dhcpd'][$dhcpif]['range']['from']));
foreach ($leases as $data) {
if ($data['act'] != "active" && $data['act'] != "static" && $_GET['all'] != 1)
continue;
if ($data['act'] != "static") {
- if (is_inrange_v4($data['ip'], $config['dhcpd'][$dhcpif]['range']['from'], $config['dhcpd'][$dhcpif]['range']['to'])) {
+ if (is_inrange_v4($data['ip'], $config['dhcpd'][$dhcpif]['range']['from'], $config['dhcpd'][$dhcpif]['range']['to'])) {
$result['active'] = $result['active'] + 1;
}
}
OpenPOWER on IntegriCloud