From 02593e372af159c3f085f349b6a7b5f2fe8b9e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=C3=A7i?= Date: Fri, 9 Nov 2012 10:42:27 +0100 Subject: Correctly mark found configuration. Fixes http://forum.pfsense.org/index.php/topic,54595.0.html --- etc/inc/shaper.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index ecb3b92..f76aafb 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3017,10 +3017,12 @@ class dnpipe_class extends dummynet_class { } } else { $pfq_rule .= " bw 0"; + $found = true; break; } } else { $pfq_rule .= " bw ".trim($bw['bw']).$bw['bwscale']; + $found = true; break; } } -- cgit v1.1