diff options
-rw-r--r-- | lib/Vyatta/NatRule.pm | 6 |
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"); |