summaryrefslogtreecommitdiffstats
path: root/src/etc/rc.captiveportal_configure_mac
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-10-24 19:19:19 -0200
committerRenato Botelho <renato@netgate.com>2016-10-24 19:22:00 -0200
commit517b893eec63ce7695bc91b3a0e82882136e8ef5 (patch)
tree603b3c72b04277a76b8c531400a0f339ceebf9ed /src/etc/rc.captiveportal_configure_mac
parent6344be46d4946e594085f7a08249f70a5b109340 (diff)
downloadpfsense-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-xsrc/etc/rc.captiveportal_configure_mac2
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);
?>
OpenPOWER on IntegriCloud