diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-02-11 09:13:00 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-02-11 09:13:00 +0100 |
commit | 1d564143770e22559ca137fa298105300953699a (patch) | |
tree | 3826cdd9c3da95bbba14105ddc714549ced9ec39 /etc/inc/captiveportal.inc | |
parent | 07dfd12159413d2bcb91c5e17952284e9b128ab7 (diff) | |
parent | 554d3bc22d54076a437bc9e71bcfd8036ebe7d38 (diff) | |
download | pfsense-1d564143770e22559ca137fa298105300953699a.zip pfsense-1d564143770e22559ca137fa298105300953699a.tar.gz |
Merge remote branch 'upstream/master'
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 5518dee..e6fa70f 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -1082,10 +1082,10 @@ function setup_dnsfilter_entries() { $cp_filterdns_conf = ""; if (is_array($config['captiveportal']['allowedhostname'])) { foreach ($config['captiveportal']['allowedhostname'] as $hostnameent) { - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 3 '/etc/rc.captiveportal_configure'\n"; - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 4 '/etc/rc.captiveportal_configure'\n"; - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 7 '/etc/rc.captiveportal_configure'\n"; - $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 8 '/etc/rc.captiveportal_configure'\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 3\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 4\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 7\n"; + $cp_filterdns_conf .= "ipfw {$hostnameent['hostname']} 8\n"; } } file_put_contents($cp_filterdns_filename, $cp_filterdns_conf); |