Skip to content

Commit

Permalink
Update pfsense.rb
Browse files Browse the repository at this point in the history
excluding firewall rule created sections when generated automatically via pfblockerNG
  • Loading branch information
anthonysomerset authored Nov 15, 2023
1 parent a35d690 commit b2d820d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/oxidized/model/pfsense.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class PfSense < Oxidized::Model

cfg.gsub! /\s<revision>\s*<time>\d*<\/time>\s*.*\s*.*\s*<\/revision>/, ''
cfg.gsub! /\s<last_rule_upd_time>\d*<\/last_rule_upd_time>/, ''
cfg.gsub! /\s<created>\s*<time>\d*<\/time>\s*.*CDATA\[Auto\].*\s*.*\s*<\/created>/, ''
cfg
end

Expand Down

0 comments on commit b2d820d

Please sign in to comment.