diff options
author | Ermal <eri@pfsense.org> | 2012-12-17 11:32:09 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-12-17 11:32:09 +0000 |
commit | 1272429c1b2b95a16be8af0469cac855cdbc1887 (patch) | |
tree | 25b6568f39578d64dca1ac44bb17fdc037f206ac /usr/local/www/services_captiveportal_hostname_edit.php | |
parent | 30171d554c0433a52acb4a9f3bc96bf0b8cd01ed (diff) | |
download | pfsense-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-x | usr/local/www/services_captiveportal_hostname_edit.php | 4 |
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; |