summaryrefslogtreecommitdiff
path: root/scripts/vyatta_quagga_utils.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:05:20 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:05:20 -0800
commitea203872157e4b025f92999fe0c172df86ca0e55 (patch)
tree0549ec8122ab6c2b801e8fae3dc0d86d469a2052 /scripts/vyatta_quagga_utils.pl
parent1e94772e482da91f3cd6c704563886a860d311fe (diff)
downloadvyatta-cfg-quagga-ea203872157e4b025f92999fe0c172df86ca0e55.tar.gz
vyatta-cfg-quagga-ea203872157e4b025f92999fe0c172df86ca0e55.zip
Convert to new Vyatta::Config hierarchy
Diffstat (limited to 'scripts/vyatta_quagga_utils.pl')
-rw-r--r--scripts/vyatta_quagga_utils.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/vyatta_quagga_utils.pl b/scripts/vyatta_quagga_utils.pl
index 8806e120..eaf83649 100644
--- a/scripts/vyatta_quagga_utils.pl
+++ b/scripts/vyatta_quagga_utils.pl
@@ -1,7 +1,7 @@
#!/usr/bin/perl
use lib "/opt/vyatta/share/perl5/";
-use VyattaConfig;
-use VyattaMisc;
+use Vyatta::Config;
+use Vyatta::Misc;
use NetAddr::IP;
use Getopt::Long;
@@ -36,7 +36,7 @@ sub check_prefix_boundry() {
sub check_exists() {
my $node = shift;
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
if ( $config->exists("$node") ) {
exit 0;
@@ -47,7 +47,7 @@ sub check_exists() {
sub check_not_exists() {
my $node = shift;
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
if (! $config->exists("$node") ) {
exit 0;