diff options
author | Denver Abrey <denvera@gmail.com> | 2016-10-19 01:12:48 +0200 |
---|---|---|
committer | Denver Abrey <denvera@gmail.com> | 2016-10-19 01:12:48 +0200 |
commit | d483d4e4be33c2062794d2d6aef7ce16eba223b2 (patch) | |
tree | ae4f0cbe956dcf9d0f9caad827b07f82b471f169 /lib | |
parent | 4da7ba5edef2b72ec1e266c1f8d5b1367ed9203b (diff) |
Update regex to match newer pfSense config files
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/pfsense.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/pfsense.rb b/lib/oxidized/model/pfsense.rb index 55e7e85..c02c0d0 100644 --- a/lib/oxidized/model/pfsense.rb +++ b/lib/oxidized/model/pfsense.rb @@ -7,7 +7,7 @@ class PfSense < Oxidized::Model end cmd 'cat /cf/conf/config.xml' do |cfg| - cfg.gsub! /\s<revision>\s*<time>\d*<\/time>\s*.*\s*.*\s*<\/revision>/, '' + cfg.gsub! /\s<revision>\s*.*\s*<time>\d*<\/time>\s*.*\s*<\/revision>/, '' cfg end |