mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
correct the limiter, it reversed up/down before
This commit is contained in:
parent
60e014fe99
commit
ffcf81bbb7
@ -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;
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
Loading…
Reference in New Issue
Block a user