diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-05 14:29:03 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-02-05 14:29:03 -0800 |
commit | 601c07dc8d6ca7387880ef5d62191e24106d0e9c (patch) | |
tree | c2df8d11cd8cb941f7daa3b14213d13bd0ebc44a /lib | |
parent | 28b70f7913c7b6dbf67546324faeb89f416633dc (diff) | |
download | vyatta-cfg-qos-601c07dc8d6ca7387880ef5d62191e24106d0e9c.tar.gz vyatta-cfg-qos-601c07dc8d6ca7387880ef5d62191e24106d0e9c.zip |
Fix vyatta config name change
VyattaConfig is now Vyatta::Config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Vyatta/Qos/NetworkEmulator.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Vyatta/Qos/NetworkEmulator.pm b/lib/Vyatta/Qos/NetworkEmulator.pm index 71f347f..47b0174 100644 --- a/lib/Vyatta/Qos/NetworkEmulator.pm +++ b/lib/Vyatta/Qos/NetworkEmulator.pm @@ -20,7 +20,7 @@ package Vyatta::Qos::NetworkEmulator; use strict; use warnings; -require VyattaConfig; +require Vyatta::Config; use Vyatta::Qos::Util; my %fields = ( @@ -87,14 +87,14 @@ sub commands { sub isChanged { my ( $self, $name ) = @_; - my $config = new VyattaConfig; + my $config = new Vyatta::Config; $config->setLevel("qos-policy network-emulator $name"); foreach my $attr ( "bandwidth", "burst", "queue-limit", "network-delay", "packet-loss", "packet-corruption", "packet-reordering", ) { return $attr if ( $config->isChanged($attr) ); } - return undef; # false + return; } 1; |