summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-09 09:18:59 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-07-09 09:18:59 -0700
commit6dca7f847c69ff078010e5beecbf832dae210804 (patch)
treef2c53e7c9782ec6db4f70ce8c487cca5d18aa3cb
parent9a76118087cfa2483d48e54669c2cc85f4ce15ab (diff)
downloadvyatta-cfg-qos-6dca7f847c69ff078010e5beecbf832dae210804.tar.gz
vyatta-cfg-qos-6dca7f847c69ff078010e5beecbf832dae210804.zip
Fix out of date comments
Comments contained reference to old syntax
-rw-r--r--lib/Vyatta/Qos/TrafficLimiter.pm2
-rwxr-xr-xscripts/vyatta-qos.pl1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/Vyatta/Qos/TrafficLimiter.pm b/lib/Vyatta/Qos/TrafficLimiter.pm
index bec2b27..0a5809f 100644
--- a/lib/Vyatta/Qos/TrafficLimiter.pm
+++ b/lib/Vyatta/Qos/TrafficLimiter.pm
@@ -41,7 +41,7 @@ sub new {
}
# Setup new instance.
-# Assumes caller has done $config->setLevel to "traffic-limiter $name"
+# Assumes caller has done $config->setLevel to "limiter $name"
sub _define {
my ( $self, $config ) = @_;
my $level = $config->setLevel();
diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl
index e04762e..266a0f5 100755
--- a/scripts/vyatta-qos.pl
+++ b/scripts/vyatta-qos.pl
@@ -58,7 +58,6 @@ sub find_policy {
}
# class factory for policies
-## make_policy('traffic-shaper', 'limited', 'out')
sub make_policy {
my ( $type, $name, $direction ) = @_;
my $policy_type;