diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/services_captiveportal_ip_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/services_captiveportal_ip_edit.php b/usr/local/www/services_captiveportal_ip_edit.php index 977ba9f..f3b297c 100755 --- a/usr/local/www/services_captiveportal_ip_edit.php +++ b/usr/local/www/services_captiveportal_ip_edit.php @@ -123,12 +123,12 @@ if ($_POST) { $ruleno = captiveportal_get_next_ipfw_ruleno(); if (!empty($ip['bw_up'])) { $pipeno = $ruleno + 20000; - mwexec("/sbin/ipfw pipe {$pipeno} config bw {$ip['bw_up']}Kbit/s queue 100") + mwexec("/sbin/ipfw pipe {$pipeno} config bw {$ip['bw_up']}Kbit/s queue 100"); $bwup = "pipe {$pipeno}"; } if (!empty($ip['bw_down'])) { $pipeno = $ruleno + 20001; - mwexec("/sbin/ipfw pipe {$pipeno} config bw {$ip['bw_down']}Kbit/s queue 100") + mwexec("/sbin/ipfw pipe {$pipeno} config bw {$ip['bw_down']}Kbit/s queue 100"); $bwdown = "pipe {$pipeno}"; } mwexec("/sbin/ipfw table 1 add {$ip['ip']} {$bwup}"); |