From 7376f1c81de3aefd5feee5937ebb68ba202cdbc8 Mon Sep 17 00:00:00 2001 From: Nat Morris Date: Sat, 6 Feb 2016 18:30:00 +0000 Subject: ignore configuration dates --- lib/oxidized/model/masteros.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/masteros.rb b/lib/oxidized/model/masteros.rb index 3f5a2fc..d48fe27 100644 --- a/lib/oxidized/model/masteros.rb +++ b/lib/oxidized/model/masteros.rb @@ -12,6 +12,7 @@ comment '!' cmd :all do |cfg| cfg.each_line.to_a[1..-2].join + cfg.gsub! /^(! Configuration ).*/, '!' end cmd 'show inventory' do |cfg| @@ -43,4 +44,4 @@ comment '!' pre_logout 'exit' end -end \ No newline at end of file +end -- cgit v1.2.1