summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-26 04:53:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-26 04:53:39 +0000
commitc597d50fe9f00cb4c1cda5a3fd106ed17eca5a61 (patch)
treefd791b28e80bcff1f20f3cd140bb7b61893f71e7 /usr
parentc99250702535d6ba2b1936cbaace690b3100cef9 (diff)
downloadpfsense-c597d50fe9f00cb4c1cda5a3fd106ed17eca5a61.zip
pfsense-c597d50fe9f00cb4c1cda5a3fd106ed17eca5a61.tar.gz
Do not use reload_* until we can fix the console bug
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
-rwxr-xr-xusr/local/www/interfaces_lan.php9
-rwxr-xr-xusr/local/www/interfaces_opt.php2
-rwxr-xr-xusr/local/www/interfaces_wan.php2
4 files changed, 7 insertions, 8 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 9c96c63..4bf5e2e 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -268,7 +268,7 @@ if ($_POST) {
$retval = 0;
- touch("/tmp/reload_interfaces");
+ interfaces_opt_configure();
$savemsg = get_std_save_message($retval);
}
diff --git a/usr/local/www/interfaces_lan.php b/usr/local/www/interfaces_lan.php
index 119ff9e..9a32a17 100755
--- a/usr/local/www/interfaces_lan.php
+++ b/usr/local/www/interfaces_lan.php
@@ -83,7 +83,6 @@ if ($_POST) {
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
-
if (($_POST['ipaddr'] && !is_ipaddr($_POST['ipaddr']))) {
$input_errors[] = "A valid IP address must be specified.";
}
@@ -128,14 +127,15 @@ if ($_POST) {
touch($d_landirty_path);
if ($_POST['apply'] <> "") {
+ interfaces_opt_configure();
+
unlink($d_landirty_path);
+
$savemsg = "The changes have been applied. You may need to correct the web browsers ip address.";
}
-
}
}
-
$pgtitle = "Interfaces: LAN";
include("head.inc");
@@ -256,9 +256,8 @@ function enable_change(enable_over) {
if ($_POST['apply'] <> "") {
- touch("/tmp/reload_interfaces");
if(file_exists($d_landirty_path))
- unlink($d_landirty_path);
+ unlink($d_landirty_path);
}
diff --git a/usr/local/www/interfaces_opt.php b/usr/local/www/interfaces_opt.php
index 7934224..3ebd9ac 100755
--- a/usr/local/www/interfaces_opt.php
+++ b/usr/local/www/interfaces_opt.php
@@ -197,7 +197,7 @@ if ($_POST) {
write_config();
- touch("/tmp/reload_interfaces");
+ interfaces_opt_configure();
/* sync filter configuration */
filter_configure();
diff --git a/usr/local/www/interfaces_wan.php b/usr/local/www/interfaces_wan.php
index 9c96c63..4bf5e2e 100755
--- a/usr/local/www/interfaces_wan.php
+++ b/usr/local/www/interfaces_wan.php
@@ -268,7 +268,7 @@ if ($_POST) {
$retval = 0;
- touch("/tmp/reload_interfaces");
+ interfaces_opt_configure();
$savemsg = get_std_save_message($retval);
}
OpenPOWER on IntegriCloud