From ca35b912d5bde6c32d550dccfada67ace972cf5f Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Thu, 14 Jun 2018 22:17:42 +0200 Subject: Scrub uptime in ciscosmb more carefully, closes #1398 (#1400) Scrub uptime in ciscosmb more carefully, closes #1398 --- lib/oxidized/model/ciscosmb.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/model/ciscosmb.rb b/lib/oxidized/model/ciscosmb.rb index e3a7f2a..eef4755 100644 --- a/lib/oxidized/model/ciscosmb.rb +++ b/lib/oxidized/model/ciscosmb.rb @@ -24,7 +24,7 @@ class CiscoSMB < Oxidized::Model end cmd 'show system' do |cfg| - cfg.gsub! /System Up Time.*/, '' + cfg.gsub! /System Up Time.*\n/, '' comment cfg end -- cgit v1.2.1