summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-nat.pl
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-25 09:59:25 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-25 09:59:25 -0800
commit8b9f431452f2d24e5d43b743bf8d3b5b11b36c66 (patch)
tree1ef7495b919cf9672d7b6866f8707880bdb4899c /scripts/vyatta-update-nat.pl
parentd5582471c2f164f31c7f60946df846c595b8fa06 (diff)
downloadvyatta-nat-8b9f431452f2d24e5d43b743bf8d3b5b11b36c66.tar.gz
vyatta-nat-8b9f431452f2d24e5d43b743bf8d3b5b11b36c66.zip
change VyattaNatRule to Vyatta::NatRule
Diffstat (limited to 'scripts/vyatta-update-nat.pl')
-rwxr-xr-xscripts/vyatta-update-nat.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-update-nat.pl b/scripts/vyatta-update-nat.pl
index 039ef6c..4e31fa6 100755
--- a/scripts/vyatta-update-nat.pl
+++ b/scripts/vyatta-update-nat.pl
@@ -65,7 +65,7 @@ if ($? >> 8) {
my $all_deleted = 1;
for $rule (@rule_keys) {
print OUT "$rule: $rules{$rule}\n";
- my $nrule = new VyattaNatRule;
+ my $nrule = new Vyatta::NatRule;
$nrule->setup("service nat rule $rule");
my $otype = $nrule->orig_type();
my $ntype = $nrule->new_type();