diff options
Diffstat (limited to 'scripts/vyatta-bonding.pl')
-rwxr-xr-x | scripts/vyatta-bonding.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-bonding.pl b/scripts/vyatta-bonding.pl index 4e44d67b..d9e0ebc4 100755 --- a/scripts/vyatta-bonding.pl +++ b/scripts/vyatta-bonding.pl @@ -29,7 +29,7 @@ # use lib "/opt/vyatta/share/perl5/"; -use VyattaConfig; +use Vyatta::Config; use Getopt::Long; use strict; @@ -47,7 +47,7 @@ my %modes = ( sub create_bond { my $bond = shift; - my $config = new VyattaConfig; + my $config = new Vyatta::Config; $config->setLevel("interfaces bonding $bond"); my $mode = $modes{$config->returnValue("mode")}; @@ -78,7 +78,7 @@ sub delete_bond { # See if bonding device exists and the mode has changed sub change_bond { my $bond = shift; - my $config = new VyattaConfig; + my $config = new Vyatta::Config; $config->setLevel("interfaces bonding"); if ( !( $config->isAdded($bond) || $config->isDeleted($bond) ) |