Skip to content

Commit

Permalink
Merge pull request #2985 from anthonysomerset/patch-1
Browse files Browse the repository at this point in the history
Update pfsense.rb
  • Loading branch information
robertcheramy authored Jan 29, 2024
2 parents 0c7b529 + 1e1aa2d commit 94f308f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
- fortios: only perform a "show" instead of a "show full-configuration" when retrieving configs from fortios. fixes timeouts and avoids extraneous defaulted config information. (@jforeman)
- opengear: support newer Opengear CM* and OM* models (@matej_v)
- edgecos: improve system temperature removal (@freddy36)
- pfsense: exclude autogenerated firewall rule timestamps to reduce change churn from use of stuff like PFBlockerNG #2985 (@anthonysomerset)

## Fixed
- fixed empty lines for ZyXEL GS1900 switches (@jluebbe)
Expand Down
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 94f308f

Please sign in to comment.