diff options
author | Ermal <eri@pfsense.org> | 2013-08-02 14:33:43 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-08-02 14:35:31 +0000 |
commit | 7fdf29708c350dc7bad18b69ed201b734e77e20b (patch) | |
tree | 89a3ad644b17e236b0b4f1a706d395d870168826 | |
parent | 746f0afb00db6ddd5445d39a5fbc42690fcaad13 (diff) | |
download | pfsense-7fdf29708c350dc7bad18b69ed201b734e77e20b.zip pfsense-7fdf29708c350dc7bad18b69ed201b734e77e20b.tar.gz |
Correct bandwidth assignment so the configuration is not reverted courtesy of ipfw(4) swapped arguments. Reported-by: http://forum.pfsense.org/index.php/topic,65069.0.html
-rw-r--r-- | etc/inc/captiveportal.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 951b3ec..f20de6d 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -947,9 +947,9 @@ function captiveportal_passthrumac_configure_entry($macent) { $_gb = @pfSense_pipe_action("pipe {$pipeup} config bw {$bwUp}Kbit/s queue 100 buckets 16"); $pipedown = $pipeno + 1; $_gb = @pfSense_pipe_action("pipe {$pipedown} config bw {$bwDown}Kbit/s queue 100 buckets 16"); - $rules .= "add {$ruleno} pipe {$pipeup} ip from any to any MAC {$macent['mac']} any\n"; + $rules .= "add {$ruleno} pipe {$pipeup} ip from any to any MAC any {$macent['mac']}\n"; $ruleno++; - $rules .= "add {$ruleno} pipe {$pipedown} ip from any to any MAC any {$macent['mac']}\n"; + $rules .= "add {$ruleno} pipe {$pipedown} ip from any to any MAC {$macent['mac']} any\n"; return $rules; } |