summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-08-18 08:15:27 +0930
committerRenato Botelho <renato@netgate.com>2016-08-29 15:05:00 -0300
commit34a8cebe8273024c36fee74bdc3508bdb55321e0 (patch)
tree2a4666967c80bf58cd150e9256ac423e445947a3
parentdc13f5e06bcbb02c8f929caecf1acdc28c126bb4 (diff)
downloadpfsense-34a8cebe8273024c36fee74bdc3508bdb55321e0.zip
pfsense-34a8cebe8273024c36fee74bdc3508bdb55321e0.tar.gz
Indent dhcpd.conf option custom
(cherry picked from commit c507161d557817c1f6f0adbef9ffdbad82115ee8)
-rw-r--r--src/etc/inc/services.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/services.inc b/src/etc/inc/services.inc
index 889b2cf..e7fd1ac 100644
--- a/src/etc/inc/services.inc
+++ b/src/etc/inc/services.inc
@@ -940,9 +940,9 @@ EOPP;
foreach ($poolconf['numberoptions']['item'] as $itemidx => $item) {
$item_value = base64_decode($item['value']);
if (empty($item['type']) || $item['type'] == "text") {
- $dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} \"{$item_value}\";\n";
+ $dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} \"{$item_value}\";\n";
} else {
- $dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} {$item_value};\n";
+ $dhcpdconf .= " option custom-{$dhcpif}-{$poolidx}-{$itemidx} {$item_value};\n";
}
}
}
OpenPOWER on IntegriCloud