summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-06-18 16:59:43 +0000
committerErmal Luçi <eri@pfsense.org>2009-06-18 16:59:43 +0000
commita5d6f60bf42e07949ccf9d46a29d539c9d327205 (patch)
tree442ac33ec1d74c86187d3193f7c1607ee04109c3 /usr
parent6dc88d5352ea963d85708379405e238e0518e990 (diff)
downloadpfsense-a5d6f60bf42e07949ccf9d46a29d539c9d327205.zip
pfsense-a5d6f60bf42e07949ccf9d46a29d539c9d327205.tar.gz
* Fix the pppoe reset script.
* Do not reload recursevly services while configuring interfaces * Clean up the resync_all and reload_interfaces to not call services recursievly * Fix interfaces.php to not try to save the config after you click the apply button. * Put interfaces_loopback_configure on interfaces_configure its an interface after all.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 8a8fb8f..90cf167 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -240,19 +240,16 @@ if ($_POST['apply']) {
services_snmpd_configure();
if ($if == "lan")
$savemsg = "The changes have been applied. You may need to correct your web browser's IP address.";
+
/* sync filter configuration */
setup_gateways_monitor();
+
if (file_exists($d_staticroutesdirty_path))
unlink($d_staticroutesdirty_path);
- filter_configure();
- /* set up static routes */
- system_routing_configure();
- /* start IPsec tunnels */
- vpn_ipsec_configure();
}
header("Location: interfaces.php?if={$if}");
exit;
-}
+} else
if ($_POST && $_POST['enable'] == "no") {
unset($wancfg['enable']);
@@ -261,7 +258,7 @@ if ($_POST && $_POST['enable'] == "no") {
touch($d_landirty_path);
header("Location: interfaces.php?if={$if}");
exit;
-}
+} else
if ($_POST) {
unset($input_errors);
OpenPOWER on IntegriCloud