diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-24 19:19:19 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-24 19:22:00 -0200 |
commit | 517b893eec63ce7695bc91b3a0e82882136e8ef5 (patch) | |
tree | 603b3c72b04277a76b8c531400a0f339ceebf9ed /src/etc/rc.captiveportal_configure_mac | |
parent | 6344be46d4946e594085f7a08249f70a5b109340 (diff) | |
download | pfsense-517b893eec63ce7695bc91b3a0e82882136e8ef5.zip pfsense-517b893eec63ce7695bc91b3a0e82882136e8ef5.tar.gz |
Rework captive portal to run with stock IPFW (round 1)
- Remove use of IPFW context
- Create a rule that will skip to proper rule for each cp zone
- Use new PHP module functions wherever is possible
Diffstat (limited to 'src/etc/rc.captiveportal_configure_mac')
-rwxr-xr-x | src/etc/rc.captiveportal_configure_mac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/rc.captiveportal_configure_mac b/src/etc/rc.captiveportal_configure_mac index dc155cd..8b51904 100755 --- a/src/etc/rc.captiveportal_configure_mac +++ b/src/etc/rc.captiveportal_configure_mac @@ -39,6 +39,6 @@ $filename = "{$g['tmp_path']}/{$cpzoneidx}_mac_{$startidx}_{$stopidx}"; captiveportal_passthrumac_configure($filename, $startidx, $stopidx); //log_error("STOPPED: " .time() . " - {$cpzone} : $startidx : {$stopidx} : {$cpzoneidx} : {$filename}"); -mwexec("/sbin/ipfw -x {$cpzoneidx} -q {$filename}"); +mwexec("/sbin/ipfw -q {$filename}"); @unlink($filename); ?> |