summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xusr/local/www/services_dhcp.php3
-rwxr-xr-xusr/local/www/services_dhcp_edit.php2
2 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index e0d01ce..35cf6cd 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -136,8 +136,8 @@ if ($_POST) {
$config['dhcpd'][$if]['gateway'] = $_POST['gateway'];
$config['dhcpd'][$if]['staticarp'] = $_POST['staticarp'] ? true : false;
-
+
write_config();
/* static arp configuration */
@@ -156,7 +156,6 @@ if ($_GET['act'] == "del") {
if ($a_maps[$_GET['id']]) {
unset($a_maps[$_GET['id']]);
write_config();
- touch($d_staticmapsdirty_path);
header("Location: services_dhcp.php?if={$if}");
exit;
}
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index 3f3f077..b9a2488 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -120,8 +120,6 @@ if ($_POST) {
else
$a_maps[] = $mapent;
- touch($d_staticmapsdirty_path);
-
write_config();
header("Location: services_dhcp.php?if={$if}");
OpenPOWER on IntegriCloud