diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-24 15:07:15 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-24 15:07:15 -0800 |
commit | c596eb74028ad78d995cbcf9b228131b9ac53dc0 (patch) | |
tree | 4c8b43c893e2cb84df70e1098e8d93d536f6af22 /scripts | |
parent | 35b6202c67f3e6d05f66f430aceae30d96e0ea90 (diff) | |
download | vyatta-cfg-firewall-c596eb74028ad78d995cbcf9b228131b9ac53dc0.tar.gz vyatta-cfg-firewall-c596eb74028ad78d995cbcf9b228131b9ac53dc0.zip |
Convert VyattaConfig to Vyatta::Config
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/firewall/vyatta-firewall.pl | 6 |
1 files changed, 3 insertions, 3 deletions
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); |