From c596eb74028ad78d995cbcf9b228131b9ac53dc0 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 24 Nov 2008 15:07:15 -0800 Subject: Convert VyattaConfig to Vyatta::Config --- scripts/firewall/vyatta-firewall.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts') diff --git a/scripts/firewall/vyatta-firewall.pl b/scripts/firewall/vyatta-firewall.pl index 950bb1a..f688e78 100755 --- a/scripts/firewall/vyatta-firewall.pl +++ b/scripts/firewall/vyatta-firewall.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl use lib "/opt/vyatta/share/perl5"; -use VyattaConfig; +use Vyatta::Config; use Vyatta::IpTables::Rule; use Vyatta::IpTables::AddressFilter; use Getopt::Long; @@ -98,7 +98,7 @@ sub help() { sub update_rules($) { my $tree = shift; my $table = $table_hash{$tree}; - my $config = new VyattaConfig; + my $config = new Vyatta::Config; my $name = undef; my %nodes = (); @@ -263,7 +263,7 @@ sub update_rules($) { sub chain_configured($$$) { my ($mode, $chain, $tree) = @_; - my $config = new VyattaConfig; + my $config = new Vyatta::Config; my %chains = (); foreach (keys %table_hash) { next if ($mode == 1 && $_ ne $tree); -- cgit v1.2.3