summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ios.rb
diff options
context:
space:
mode:
authornertwork <webmaster@nertwork.com>2016-12-20 12:16:39 -0800
committernertwork <webmaster@nertwork.com>2016-12-20 12:16:39 -0800
commit7d0706ef8b9684d13e19a3a9a79d3c1b97897133 (patch)
tree79ab63664a43699a5079b676e51f43bb6b22368e /lib/oxidized/model/ios.rb
parentf8ec959dda6ca7db5505fa60be8ec33062d2b446 (diff)
changing ios gsub
Diffstat (limited to 'lib/oxidized/model/ios.rb')
-rw-r--r--lib/oxidized/model/ios.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ios.rb b/lib/oxidized/model/ios.rb
index 3cbe0f0..aa64847 100644
--- a/lib/oxidized/model/ios.rb
+++ b/lib/oxidized/model/ios.rb
@@ -30,6 +30,7 @@ class IOS < Oxidized::Model
cfg.gsub! /^enable password \d \S+/, '<secret hidden>'
cfg.gsub! /^enable secret \d \S+/, '<secret hidden>'
cfg.gsub! /wpa-psk ascii \d \S+/, '<secret hidden>'
+ cfg.gsub! /key 7 \d.+/, '<secret hidden>'
cfg.gsub! /^tacacs-server key \d \S+/, '<secret hidden>'
cfg
end