summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-27 16:28:36 +0000
committerErmal <eri@pfsense.org>2013-01-27 16:28:36 +0000
commit657d2c6690ab87f8105d550fe1b1253db376be29 (patch)
tree3c24f87ed344dc139cfaccb32f3fc815de62f7b3 /etc
parentbbdb59deca77d99fced0475048b552ed5d461001 (diff)
downloadpfsense-657d2c6690ab87f8105d550fe1b1253db376be29.zip
pfsense-657d2c6690ab87f8105d550fe1b1253db376be29.tar.gz
Configure pipe directly in php until ipfw binary is fixed to correctly configure pipes even that context is specified
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 71dd03e..a126de0 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -987,9 +987,9 @@ function captiveportal_allowedip_configure_entry($ipent, $ishostname = false) {
$enBwdown = empty($ipent['bw_down']) ? 0 : intval($ipent['bw_down']);
$pipeno = captiveportal_get_next_dn_ruleno();
- $rules .= "pipe {$pipeno} config bw {$enBwup}Kbit/s queue 100 buckets 16\n";
+ pfSense_pipe_action("pipe {$pipeno} config bw {$enBwup}Kbit/s queue 100 buckets 16");
$pipedown = $pipeno + 1;
- $rules .= "pipe {$pipedown} config bw {$enBwdown}Kbit/s queue 100 buckets 16\n";
+ pfSense_pipe_action("pipe {$pipedown} config bw {$enBwdown}Kbit/s queue 100 buckets 16");
if ($ishostname === true) {
$cp_filterdns_conf .= "ipfw {$ipent['hostname']} 3 pipe {$pipeno}\n";
$cp_filterdns_conf .= "ipfw {$ipent['hostname']} 4 pipe {$pipedown}\n";
OpenPOWER on IntegriCloud