summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-nat.pl
diff options
context:
space:
mode:
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();