From 12bcdc89e94842ee2411661509f7627ff39f2367 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 22 Jan 2005 02:57:05 +0000 Subject: Commit what I have so far. Magic shaper now works 100% .. or atleast appears to! --- usr/local/www/firewall_shaper_edit.php | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'usr/local/www/firewall_shaper_edit.php') diff --git a/usr/local/www/firewall_shaper_edit.php b/usr/local/www/firewall_shaper_edit.php index 0ff2781..3268048 100755 --- a/usr/local/www/firewall_shaper_edit.php +++ b/usr/local/www/firewall_shaper_edit.php @@ -129,11 +129,7 @@ if (isset($id) && $a_shaper[$id]) { $pconfig['dstmask'], $pconfig['dstnot'], $pconfig['dstbeginport'], $pconfig['dstendport']); - if (isset($a_shaper[$id]['targetpipe'])) { - $pconfig['target'] = "targetpipe:" . $a_shaper[$id]['targetpipe']; - } else if (isset($a_shaper[$id]['targetqueue'])) { - $pconfig['target'] = "targetqueue:" . $a_shaper[$id]['targetqueue']; - } + $pconfig['target'] = $a_shaper[$id]['targetqueue']; $pconfig['direction'] = $a_shaper[$id]['direction']; $pconfig['iptos'] = $a_shaper[$id]['iptos']; @@ -459,6 +455,7 @@ function dst_rep_change() {

Firewall: Traffic shaper: Edit rule

+ 0): ?>
@@ -466,21 +463,12 @@ function dst_rep_change() { - - + +
Target
IP packet length @@ -750,6 +738,9 @@ typesel_change(); proto_change(); //--> + +

You need to create a queue before you can add a new rule.

+ -- cgit v1.1