diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:05:20 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:05:20 -0800 |
commit | ea203872157e4b025f92999fe0c172df86ca0e55 (patch) | |
tree | 0549ec8122ab6c2b801e8fae3dc0d86d469a2052 /scripts/vyatta_quagga_utils.pl | |
parent | 1e94772e482da91f3cd6c704563886a860d311fe (diff) | |
download | vyatta-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.pl | 8 |
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; |