From 7750a19a9b2026b9e8f42e903b953a80fced9607 Mon Sep 17 00:00:00 2001 From: sorano Date: Mon, 6 Mar 2017 15:22:17 +0100 Subject: Update regexp to match pfSense 2.3.3 config files Fix regexp for pfSense (2.3.3-RELEASE) to remove revision time in config pull. Also remove snort last_rule_upd_time in config pull. --- lib/oxidized/model/pfsense.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/oxidized/model/pfsense.rb b/lib/oxidized/model/pfsense.rb index c02c0d0..782969e 100644 --- a/lib/oxidized/model/pfsense.rb +++ b/lib/oxidized/model/pfsense.rb @@ -7,7 +7,8 @@ class PfSense < Oxidized::Model end cmd 'cat /cf/conf/config.xml' do |cfg| - cfg.gsub! /\s\s*.*\s*