summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-nat.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:06:29 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-21 17:06:29 -0800
commitfeacd08edaa7a538812e904f5d1e5b83cb66c75f (patch)
treebd7a17c2af8b3cb5af126693dbdd494fa99ca6a0 /scripts/vyatta-update-nat.pl
parent2538236910083bde8247cd21c6107be7b7d840f7 (diff)
downloadvyatta-nat-feacd08edaa7a538812e904f5d1e5b83cb66c75f.tar.gz
vyatta-nat-feacd08edaa7a538812e904f5d1e5b83cb66c75f.zip
Convert to Vyatta::
Diffstat (limited to 'scripts/vyatta-update-nat.pl')
-rwxr-xr-xscripts/vyatta-update-nat.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-update-nat.pl b/scripts/vyatta-update-nat.pl
index 9842309..e0f059e 100755
--- a/scripts/vyatta-update-nat.pl
+++ b/scripts/vyatta-update-nat.pl
@@ -2,7 +2,7 @@
use strict;
use lib "/opt/vyatta/share/perl5/";
-use VyattaConfig;
+use Vyatta::Config;
use Vyatta::NatRule;
sub numerically { $a <=> $b; }
@@ -24,7 +24,7 @@ sub raw_cleanup {
}
}
-my $config = new VyattaConfig;
+my $config = new Vyatta::Config;
$config->setLevel("service nat rule");
my %rules = $config->listNodeStatus();
my $rule;