summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-07-07 16:03:07 -0400
committerjim-p <jimp@pfsense.org>2011-07-07 16:03:07 -0400
commit13b9dba9aae25edf62d6cd58c7446329b0dd913c (patch)
tree8a1adb65afec7415b520a533fe20a33e3a1d371c /usr/local/www
parent590b8a38f58838dd4c79c29a229e42cd2aed12fe (diff)
parent10f5d53cbf453ff8440e5de5cb09cce72deb2bc3 (diff)
downloadpfsense-13b9dba9aae25edf62d6cd58c7446329b0dd913c.zip
pfsense-13b9dba9aae25edf62d6cd58c7446329b0dd913c.tar.gz
Merge remote branch 'upstream/master'
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/firewall_aliases_edit.php2
-rw-r--r--usr/local/www/wizards/setup_wizard.xml2
2 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/firewall_aliases_edit.php b/usr/local/www/firewall_aliases_edit.php
index 916e408..3d44694 100755
--- a/usr/local/www/firewall_aliases_edit.php
+++ b/usr/local/www/firewall_aliases_edit.php
@@ -254,7 +254,7 @@ if ($_POST) {
if (!alias_same_type($_POST["address{$x}"], $_POST['type']))
// But alias type network can include alias type urltable. Feature#1603.
if (!($_POST['type'] == 'network' &&
- get_alias_type($_POST["address{$x}"]) == 'urltable'))
+ alias_get_type($_POST["address{$x}"]) == 'urltable'))
$wrongaliases .= " " . $_POST["address{$x}"];
} else if ($_POST['type'] == "port") {
if (!is_port($_POST["address{$x}"]))
diff --git a/usr/local/www/wizards/setup_wizard.xml b/usr/local/www/wizards/setup_wizard.xml
index 401be3e..08870e1 100644
--- a/usr/local/www/wizards/setup_wizard.xml
+++ b/usr/local/www/wizards/setup_wizard.xml
@@ -590,6 +590,8 @@
}
unset($config['wizardtemp']);
write_config();
+ interface_reconfigure("wan");
+ interface_reconfigure("lan");
reload_all();
mwexec_bg("/etc/rc.update_bogons.sh now");
]]>
OpenPOWER on IntegriCloud