summaryrefslogtreecommitdiff
path: root/lib/oxidized
diff options
context:
space:
mode:
authorWild Kat <wk@users.noreply.github.com>2018-06-14 22:17:42 +0200
committerGitHub <noreply@github.com>2018-06-14 22:17:42 +0200
commitca35b912d5bde6c32d550dccfada67ace972cf5f (patch)
tree41c18533394061ede51a584274ce93ecf340425d /lib/oxidized
parent38d5893b83d0a9cf798813d32e27233615e5fb56 (diff)
Scrub uptime in ciscosmb more carefully, closes #1398 (#1400)
Scrub uptime in ciscosmb more carefully, closes #1398
Diffstat (limited to 'lib/oxidized')
-rw-r--r--lib/oxidized/model/ciscosmb.rb2
1 files changed, 1 insertions, 1 deletions
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