summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2014-01-17 07:20:14 +0100
committerDaniil Baturin <daniil@baturin.org>2014-01-17 07:20:14 +0100
commitb0bb7e5c72e1ba67c1d13c80014ee0c8bce0d086 (patch)
tree3566d83e50134d666f615b5509a31da0ceb77946
parentcb42eec3e8840856580bb074d1627ed17349654f (diff)
downloadvyatta-cfg-qos-b0bb7e5c72e1ba67c1d13c80014ee0c8bce0d086.tar.gz
vyatta-cfg-qos-b0bb7e5c72e1ba67c1d13c80014ee0c8bce0d086.zip
Bug #113: missing parenthesis broke everything.
-rw-r--r--lib/Vyatta/Qos/LimiterClass.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/Qos/LimiterClass.pm b/lib/Vyatta/Qos/LimiterClass.pm
index 82dcf98..914dcec 100644
--- a/lib/Vyatta/Qos/LimiterClass.pm
+++ b/lib/Vyatta/Qos/LimiterClass.pm
@@ -61,7 +61,7 @@ sub _define {
foreach my $match ( $config->listNodes("match") ) {
$config->setLevel("$level match $match");
my $match = new Vyatta::Qos::Match($config);
- if (defined($match) {
+ if (defined($match)) {
push @matches, $match;
}
}