summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/oxidized/model/ciscosmb.rb2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7aca9e9..1629429 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
* FEATURE: add frr support to cumulus model (@User4574 / @bobthebutcher)
* FEATURE: honour MAX_STAT in mtime, to store last N mtime
* FEATURE: configurable stats history size
+* BUGFIX: model ciscosmb
## 0.23.0
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