summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
Diffstat (limited to 'lib/oxidized/model')
-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 ef6f4e6..e3a7f2a 100644
--- a/lib/oxidized/model/ciscosmb.rb
+++ b/lib/oxidized/model/ciscosmb.rb
@@ -16,7 +16,6 @@ class CiscoSMB < Oxidized::Model
cfg.gsub! /^(snmp-server community).*/, '\\1 <configuration removed>'
cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '<secret hidden>'
cfg.gsub! /^(encrypted radius-server key).*/, '\\1 <configuration removed>'
- cfg.gsub! /System Up Time.*/, ''
cfg
end
@@ -25,6 +24,7 @@ class CiscoSMB < Oxidized::Model
end
cmd 'show system' do |cfg|
+ cfg.gsub! /System Up Time.*/, ''
comment cfg
end