summaryrefslogtreecommitdiff
path: root/scripts/vyatta-op-dynamic-dns.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:06:35 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:06:35 -0800
commit2193c5b5563981401df3885665e6d146b6f0047a (patch)
treedf63fb867b80813b2a4002346d7322579264ecb8 /scripts/vyatta-op-dynamic-dns.pl
parent10ebe0dbf9e7a01c2dc93253a0d2bafe788b8fa9 (diff)
downloadvyatta-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.pl4
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");