diff options
Diffstat (limited to 'scripts/vyatta-op-dynamic-dns.pl')
-rw-r--r-- | scripts/vyatta-op-dynamic-dns.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-op-dynamic-dns.pl b/scripts/vyatta-op-dynamic-dns.pl index 66e7b73..d1197c2 100644 --- a/scripts/vyatta-op-dynamic-dns.pl +++ b/scripts/vyatta-op-dynamic-dns.pl @@ -25,7 +25,7 @@ use lib "/opt/vyatta/share/perl5/"; use Getopt::Long; -use VyattaConfig; +use Vyatta::Config; use strict; use warnings; @@ -79,7 +79,7 @@ sub print_ddns_stats { sub get_ddns_interfaces { - my $vyatta_config = new VyattaConfig; + my $vyatta_config = new Vyatta::Config; $vyatta_config->setLevel("service dns dynamic"); $vyatta_config->{_active_dir_base} = "/opt/vyatta/config/active/"; my @ddns_interfaces = $vyatta_config->listOrigNodes("interface"); |