diff options
author | David R. Bild <david.bild@xaptum.com> | 2017-04-06 18:27:45 -0500 |
---|---|---|
committer | David R. Bild <david.bild@xaptum.com> | 2017-04-06 18:27:45 -0500 |
commit | a07b05d8685ba07380121e23757bb3631fffbe2a (patch) | |
tree | 122b9a885965655b2903f401fa0757a812771588 /lib | |
parent | 5c5a7244ed085235bddee0e34251dcc4537fd680 (diff) |
Added IPSEC keys to IOS secrets config
Diffstat (limited to 'lib')
-rw-r--r-- | lib/oxidized/model/ios.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ios.rb b/lib/oxidized/model/ios.rb index 9fda128..c3d5543 100644 --- a/lib/oxidized/model/ios.rb +++ b/lib/oxidized/model/ios.rb @@ -34,6 +34,7 @@ class IOS < Oxidized::Model cfg.gsub! /^(.*wpa-psk ascii \d) (\S+)/, '\\1 <secret hidden>' cfg.gsub! /^(.*key 7) (\d.+)/, '\\1 <secret hidden>' cfg.gsub! /^(tacacs-server key \d) (\S+)/, '\\1 <secret hidden>' + cfg.gsub! /^(crypto isakmp key) (\S+) (.*)/, '\\1 <secret hidden> \\3' cfg end |