diff options
-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; |