diff options
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/"; |