summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_captiveportal_hostname_edit.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-12-17 11:32:09 +0000
committerErmal <eri@pfsense.org>2012-12-17 11:32:09 +0000
commit1272429c1b2b95a16be8af0469cac855cdbc1887 (patch)
tree25b6568f39578d64dca1ac44bb17fdc037f206ac /usr/local/www/services_captiveportal_hostname_edit.php
parent30171d554c0433a52acb4a9f3bc96bf0b8cd01ed (diff)
downloadpfsense-1272429c1b2b95a16be8af0469cac855cdbc1887.zip
pfsense-1272429c1b2b95a16be8af0469cac855cdbc1887.tar.gz
Handle even hostname through filterdns entries correctly now that only 3/4 table exists and they consider pipe argument. While here adapt addinga hostname without reloading CP
Diffstat (limited to 'usr/local/www/services_captiveportal_hostname_edit.php')
-rwxr-xr-xusr/local/www/services_captiveportal_hostname_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_captiveportal_hostname_edit.php b/usr/local/www/services_captiveportal_hostname_edit.php
index a5c6a14..1d3fa50 100755
--- a/usr/local/www/services_captiveportal_hostname_edit.php
+++ b/usr/local/www/services_captiveportal_hostname_edit.php
@@ -138,8 +138,8 @@ if ($_POST) {
write_config();
- if (isset($a_cp[$cpzone]['enable']) && is_module_loaded("ipfw.ko"))
- captiveportal_init_rules();
+ captiveportal_allowedip_configure_entry($ip, true);
+ captiveportal_allowedhostname_configure();
header("Location: services_captiveportal_hostname.php?zone={$cpzone}");
exit;
OpenPOWER on IntegriCloud