From e3e5160cfa5a79d625b1b698930c11b139a86519 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 22 Apr 2010 11:54:57 +0000 Subject: Unbreak limiter rule creation. --- etc/inc/shaper.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc/inc') diff --git a/etc/inc/shaper.inc b/etc/inc/shaper.inc index b24355a..d366180 100644 --- a/etc/inc/shaper.inc +++ b/etc/inc/shaper.inc @@ -3902,7 +3902,7 @@ function filter_generate_dummynet_rules() { foreach ($dummynet_pipe_list as $dn) $dn_rules .= $dn->build_rules(); - if (!empty($dnrules)) { + if (!empty($dn_rules)) { file_put_contents("{$g['tmp_path']}/rules.limiter", $dn_rules); mwexec("/sbin/ipfw {$g['tmp_path']}/rules.limiter"); } -- cgit v1.1