diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:06:35 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-21 17:06:35 -0800 |
commit | 2193c5b5563981401df3885665e6d146b6f0047a (patch) | |
tree | df63fb867b80813b2a4002346d7322579264ecb8 /scripts/vyatta-op-dns-forwarding.pl | |
parent | 10ebe0dbf9e7a01c2dc93253a0d2bafe788b8fa9 (diff) | |
download | vyatta-op-2193c5b5563981401df3885665e6d146b6f0047a.tar.gz vyatta-op-2193c5b5563981401df3885665e6d146b6f0047a.zip |
Convert to Vyatta::
Diffstat (limited to 'scripts/vyatta-op-dns-forwarding.pl')
-rw-r--r-- | scripts/vyatta-op-dns-forwarding.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-op-dns-forwarding.pl b/scripts/vyatta-op-dns-forwarding.pl index bac1df3..5209e3e 100644 --- a/scripts/vyatta-op-dns-forwarding.pl +++ b/scripts/vyatta-op-dns-forwarding.pl @@ -25,7 +25,7 @@ use lib "/opt/vyatta/share/perl5/"; use Getopt::Long; -use VyattaConfig; +use Vyatta::Config; use strict; use warnings; @@ -89,7 +89,7 @@ sub print_stats { } sub get_dns_nameservers { - my $vyatta_config = new VyattaConfig; + my $vyatta_config = new Vyatta::Config; $vyatta_config->setLevel("service dns forwarding"); $vyatta_config->{_active_dir_base} = "/opt/vyatta/config/active/"; |