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/bgp/vyatta-bgp.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/bgp/vyatta-bgp.pl')
-rwxr-xr-x | scripts/bgp/vyatta-bgp.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/bgp/vyatta-bgp.pl b/scripts/bgp/vyatta-bgp.pl index 6f72a5c5..6ca3480e 100755 --- a/scripts/bgp/vyatta-bgp.pl +++ b/scripts/bgp/vyatta-bgp.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 Getopt::Long; GetOptions("check-peer-name=s" => \$peername, @@ -61,7 +61,7 @@ sub check_peer_name() { # Make sure we aren't deleteing a peer-group that has # neighbors configured to us it sub check_for_peer_groups() { - my $config = new VyattaConfig; + my $config = new Vyatta::Config; my $pg = shift; my $as = shift; my $node = $pg; @@ -100,7 +100,7 @@ sub check_as() { my $pg = shift; my $neighbor = shift; my $as = shift; - my $config = new VyattaConfig; + my $config = new Vyatta::Config; my $pgtest = $neighbor; # if this is peer-group then short circuit this |