diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-06-16 22:20:43 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-06-16 22:21:59 -0400 |
commit | ffcf81bbb7b522eb6adc2aaccdf78b341cb3ea90 (patch) | |
tree | 5d0820529dcafb1ae67c64ea5f00e31d7a9a123c /etc | |
parent | 60e014fe994d3b4ece4f1da372abbc43e5ce6a5b (diff) | |
download | pfsense-ffcf81bbb7b522eb6adc2aaccdf78b341cb3ea90.zip pfsense-ffcf81bbb7b522eb6adc2aaccdf78b341cb3ea90.tar.gz |
correct the limiter, it reversed up/down before
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index ce2a834..83d8b31 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -805,9 +805,9 @@ function captiveportal_passthrumac_configure_entry($macent) { $rules .= "pipe {$bw_down} config bw {$macent['bw_down']}Kbit/s queue 100\n"; $actiondown = "pipe {$bw_down}"; } - $rules .= "add {$ruleno} {$actionup} ip from any to any MAC {$macent['mac']} any\n"; + $rules .= "add {$ruleno} {$actiondown} ip from any to any MAC {$macent['mac']} any\n"; $ruleno++; - $rules .= "add {$ruleno} {$actiondown} ip from any to any MAC any {$macent['mac']}\n"; + $rules .= "add {$ruleno} {$actionup} ip from any to any MAC any {$macent['mac']}\n"; return $rules; } @@ -1278,4 +1278,4 @@ function portal_ip_from_client_ip($cliip) { return false; } -?> +?>
\ No newline at end of file |