Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Commit bcbbf81

Browse files
committed
Merge pull request #78 from iroller/patch-1
Fix the usage of deprecated feature
2 parents fe0bf95 + ad222fa commit bcbbf81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/policy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
actions :set
22

3-
attribute :chain, :name_attribute => true, :equal_to => ["INPUT", "FORWARD", "OUTPUT", "PREROUTING", "POSTROUTING"], :default => "INPUT"
3+
attribute :chain, :name_attribute => true, :equal_to => ["INPUT", "FORWARD", "OUTPUT", "PREROUTING", "POSTROUTING"]
44
attribute :table, :equal_to => ["filter", "nat", "mangle", "raw"], :default => "filter"
55
attribute :policy, :equal_to => ["ACCEPT", "DROP"], :required => true
66
attribute :ip_version, :equal_to => [:ipv4, :ipv6, :both], :default => :ipv4

0 commit comments

Comments
 (0)