diff options
Diffstat (limited to 'scripts/vyatta-show-nat.pl')
-rwxr-xr-x | scripts/vyatta-show-nat.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-show-nat.pl b/scripts/vyatta-show-nat.pl index 8abce6d..7df9e4a 100755 --- a/scripts/vyatta-show-nat.pl +++ b/scripts/vyatta-show-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; } @@ -45,7 +45,7 @@ print RENDER "<opcommand name='natrules'><format type='row'>\n"; # get rid of the stats for PRE_SNAT_HOOK splice @{$stats{'source'}}, 0, 2; -my $config = new VyattaConfig; +my $config = new Vyatta::Config; $config->setLevel("service nat rule"); my @rules_pre = $config->listOrigNodes(); my $rule; |