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-dynamic-dns.pl | |
parent | 10ebe0dbf9e7a01c2dc93253a0d2bafe788b8fa9 (diff) | |
download | vyatta-op-2193c5b5563981401df3885665e6d146b6f0047a.tar.gz vyatta-op-2193c5b5563981401df3885665e6d146b6f0047a.zip |
Convert to Vyatta::
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"); |