diff options
author | Wild Kat <wk@users.noreply.github.com> | 2018-06-14 22:17:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-14 22:17:42 +0200 |
commit | ca35b912d5bde6c32d550dccfada67ace972cf5f (patch) | |
tree | 41c18533394061ede51a584274ce93ecf340425d /lib/oxidized/model/ciscosmb.rb | |
parent | 38d5893b83d0a9cf798813d32e27233615e5fb56 (diff) |
Scrub uptime in ciscosmb more carefully, closes #1398 (#1400)
Scrub uptime in ciscosmb more carefully, closes #1398
Diffstat (limited to 'lib/oxidized/model/ciscosmb.rb')
-rw-r--r-- | lib/oxidized/model/ciscosmb.rb | 2 |
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 |