summaryrefslogtreecommitdiff
path: root/scripts
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
parentd5582471c2f164f31c7f60946df846c595b8fa06 (diff)
downloadvyatta-nat-8b9f431452f2d24e5d43b743bf8d3b5b11b36c66.tar.gz
vyatta-nat-8b9f431452f2d24e5d43b743bf8d3b5b11b36c66.zip
change VyattaNatRule to Vyatta::NatRule
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-show-nat.pl2
-rwxr-xr-xscripts/vyatta-update-nat.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-show-nat.pl b/scripts/vyatta-show-nat.pl
index 7df9e4a..87baff0 100755
--- a/scripts/vyatta-show-nat.pl
+++ b/scripts/vyatta-show-nat.pl
@@ -51,7 +51,7 @@ my @rules_pre = $config->listOrigNodes();
my $rule;
my @rules = sort numerically @rules_pre;
for $rule (@rules) {
- my $nrule = new VyattaNatRule;
+ my $nrule = new Vyatta::NatRule;
$nrule->setupOrig("service nat rule $rule");
my $ntype = $nrule->orig_type();
print RENDER " <row>\n";
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();