diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-06-02 18:47:41 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-06-02 18:49:48 -0700 |
commit | ded7c15145465665858a891376f8ae77bbd8332a (patch) | |
tree | 6d463fefd1a8324b161ed3d395dc77fcb7b9e5a4 /lib/Vyatta | |
parent | e0754f608b789efd932588b63771e1300cc49ec2 (diff) | |
download | vyatta-cfg-firewall-ded7c15145465665858a891376f8ae77bbd8332a.tar.gz vyatta-cfg-firewall-ded7c15145465665858a891376f8ae77bbd8332a.zip |
Change firewall default-policy to default-action.
Diffstat (limited to 'lib/Vyatta')
-rw-r--r-- | lib/Vyatta/IpTables/Rule.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/IpTables/Rule.pm b/lib/Vyatta/IpTables/Rule.pm index 8c78613..49f28e8 100644 --- a/lib/Vyatta/IpTables/Rule.pm +++ b/lib/Vyatta/IpTables/Rule.pm @@ -131,7 +131,7 @@ sub setupDummy { # set the default policy my $config = new Vyatta::Config; $config->setLevel("$level"); - my $policy = $config->returnOrigValue('default-policy'); + my $policy = $config->returnOrigValue('default-action'); $policy = 'drop' if ! defined $policy; $self->{_action} = $policy; } |