summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/shaper.inc
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/inc/shaper.inc
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/inc/shaper.inc')
-rw-r--r--src/etc/inc/shaper.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/shaper.inc b/src/etc/inc/shaper.inc
index 90f068d..5bdafdc 100644
--- a/src/etc/inc/shaper.inc
+++ b/src/etc/inc/shaper.inc
@@ -3373,7 +3373,7 @@ class dnpipe_class extends dummynet_class {
$q->delete_queue();
}
unset_dn_object_by_reference($this->GetLink());
- @pfSense_pipe_action("pipe delete " . $this->GetNumber());
+ @pfSense_ipfw_pipe("pipe delete " . $this->GetNumber());
}
function GetBandwidth() {
return $this->qbandwidth;
@@ -3987,7 +3987,7 @@ class dnqueue_class extends dummynet_class {
function delete_queue() {
cleanup_dnqueue_from_rules($this->GetQname());
unset_dn_object_by_reference($this->GetLink());
- @pfSense_pipe_action("queue delete " . $this->GetNumber());
+ @pfSense_ipfw_pipe("queue delete " . $this->GetNumber());
}
function validate_input($data, &$input_errors) {
OpenPOWER on IntegriCloud