summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-24 15:30:57 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-24 15:30:57 -0800
commit032d2b18a25628fdd5fb2a28830bdfc1dc2c06c6 (patch)
tree2971c8905f2107825a3db162d45b7365970ecfc1 /lib
parentfeacd08edaa7a538812e904f5d1e5b83cb66c75f (diff)
downloadvyatta-nat-032d2b18a25628fdd5fb2a28830bdfc1dc2c06c6.tar.gz
vyatta-nat-032d2b18a25628fdd5fb2a28830bdfc1dc2c06c6.zip
VyattaConfig -> Vyatta::Config
Diffstat (limited to 'lib')
-rw-r--r--lib/Vyatta/NatRule.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Vyatta/NatRule.pm b/lib/Vyatta/NatRule.pm
index b1561a8..9e2b895 100644
--- a/lib/Vyatta/NatRule.pm
+++ b/lib/Vyatta/NatRule.pm
@@ -2,7 +2,7 @@ package Vyatta::NatRule;
use strict;
use lib "/opt/vyatta/share/perl5";
-require VyattaConfig;
+require Vyatta::Config;
require Vyatta::IpTablesAddressFilter;
use Vyatta::Misc;
use Vyatta::TypeChecker;
@@ -48,7 +48,7 @@ sub new {
sub setup {
my ( $self, $level ) = @_;
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
$config->setLevel("$level");
@@ -93,7 +93,7 @@ sub setup {
sub setupOrig {
my ( $self, $level ) = @_;
- my $config = new VyattaConfig;
+ my $config = new Vyatta::Config;
$config->setLevel("$level");