@@ -88,6 +88,7 @@ def self.iptables_save(*args)
8888 :stat_probability => '--probability' ,
8989 :state => "-m state --state" ,
9090 :table => "-t" ,
91+ :tcp_flags => "-m tcp --tcp-flags" ,
9192 :todest => "--to-destination" ,
9293 :toports => "--to-ports" ,
9394 :tosource => "--to-source" ,
@@ -133,7 +134,7 @@ def self.iptables_save(*args)
133134 # I put it when calling the command. So compability with manual changes
134135 # not provided with current parser [georg.koester])
135136 @resource_list = [ :table , :source , :destination , :iniface , :outiface ,
136- :proto , :ishasmorefrags , :islastfrag , :isfirstfrag , :gid , :uid , :sport , :dport ,
137+ :proto , :ishasmorefrags , :islastfrag , :isfirstfrag , :tcp_flags , : gid, :uid , :sport , :dport ,
137138 :port , :pkttype , :name , :state , :ctstate , :icmp , :hop_limit , :limit , :burst ,
138139 :recent , :rseconds , :reap , :rhitcount , :rttl , :rname , :rsource , :rdest ,
139140 :jump , :todest , :tosource , :toports , :log_level , :log_prefix , :reject ,
0 commit comments