Commit 191524ed authored by Franco Fichtner's avatar Franco Fichtner

src: whitespace sweep

parent ff49930e
...@@ -119,10 +119,10 @@ if ($_POST) { ...@@ -119,10 +119,10 @@ if ($_POST) {
unset($input_errors); unset($input_errors);
if ($_POST['apply'] != 'Apply changes') { if ($_POST['apply'] != 'Apply changes') {
$old_dhcpdv6_enable = ($pconfig['enable'] == true); $old_dhcpdv6_enable = ($pconfig['enable'] == true);
$new_dhcpdv6_enable = ($_POST['enable'] ? true : false); $new_dhcpdv6_enable = ($_POST['enable'] ? true : false);
$dhcpdv6_enable_changed = ($old_dhcpdv6_enable != $new_dhcpdv6_enable); $dhcpdv6_enable_changed = ($old_dhcpdv6_enable != $new_dhcpdv6_enable);
$pconfig = $_POST; $pconfig = $_POST;
} else { } else {
$dhcpdv6_enable_changed = false; $dhcpdv6_enable_changed = false;
} }
...@@ -298,7 +298,7 @@ if ($_POST) { ...@@ -298,7 +298,7 @@ if ($_POST) {
write_config(); write_config();
} }
if (!$input_errors || $_POST['apply'] == 'Apply changes') { if (!$input_errors || $_POST['apply'] == 'Apply changes') {
/* Stop DHCPv6 so we can cleanup leases */ /* Stop DHCPv6 so we can cleanup leases */
killbypid("{$g['dhcpd_chroot_path']}{$g['varrun_path']}/dhcpdv6.pid"); killbypid("{$g['dhcpd_chroot_path']}{$g['varrun_path']}/dhcpdv6.pid");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment