summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Vyatta/Qos/FairQueue.pm6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Vyatta/Qos/FairQueue.pm b/lib/Vyatta/Qos/FairQueue.pm
index 2ef89ed..327a32b 100644
--- a/lib/Vyatta/Qos/FairQueue.pm
+++ b/lib/Vyatta/Qos/FairQueue.pm
@@ -58,11 +58,9 @@ sub isChanged {
$config->setLevel("qos-policy fair-queue $name");
foreach my $attr ('hash-interval', 'queue-limit') {
- if ($config->isChanged($attr)) {
- return $attr
- }
+ return $attr if ($config->isChanged($attr));
}
- return undef; # false
+ return; # false
}
1;