diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-05 14:09:10 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-03-05 14:09:10 -0800 |
commit | 095dfa147f6e3ea833e9c4a4824672a2060b1b2b (patch) | |
tree | e75dff2be55d5d9cee14e5b9f0ac40203d4fff3a | |
parent | a10842730f3d88f78ea00ec3f912bfd1a412b584 (diff) | |
download | vyatta-cfg-qos-095dfa147f6e3ea833e9c4a4824672a2060b1b2b.tar.gz vyatta-cfg-qos-095dfa147f6e3ea833e9c4a4824672a2060b1b2b.zip |
fix handling of hash-interval
Script was using old value, and default be undefined not 0.
-rw-r--r-- | scripts/VyattaQosFairQueue.pm | 2 | ||||
-rw-r--r-- | templates/qos-policy/fair-queue/node.tag/hash-interval/node.def | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/VyattaQosFairQueue.pm b/scripts/VyattaQosFairQueue.pm index d943db2..e3b1631 100644 --- a/scripts/VyattaQosFairQueue.pm +++ b/scripts/VyattaQosFairQueue.pm @@ -24,7 +24,7 @@ sub new { my $class = ref($that) || $that; my $self = {%fields}; - $self->{_perturb} = $config->returnValue("rekey-interval"); + $self->{_perturb} = $config->returnValue("hash-interval"); $self->{_limit} = $config->returnValue("queue-limit"); return bless $self, $class; } diff --git a/templates/qos-policy/fair-queue/node.tag/hash-interval/node.def b/templates/qos-policy/fair-queue/node.tag/hash-interval/node.def index 60d6255..2c54131 100644 --- a/templates/qos-policy/fair-queue/node.tag/hash-interval/node.def +++ b/templates/qos-policy/fair-queue/node.tag/hash-interval/node.def @@ -1,3 +1,2 @@ type: u32 -default: 0 help: Rehash interval (seconds) |