summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorytti <saku@ytti.fi>2016-06-21 12:41:44 +0300
committerGitHub <noreply@github.com>2016-06-21 12:41:44 +0300
commit52f77e74df5d62fefda2623583d929bb33583a62 (patch)
treed3f980c26973965abbfcd77c1dac864c76264e21 /lib
parentf4b98d972a6a17dc363c8b214b5d8aa162f5fa37 (diff)
parent6498a6e2606bec9dfb97c952b58234f9c89f95a4 (diff)
Merge pull request #477 from funzoneq/remove-tacacs-secret
Remove tacacs secret
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/model/eos.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb
index 84ef8cb..75da0fa 100644
--- a/lib/oxidized/model/eos.rb
+++ b/lib/oxidized/model/eos.rb
@@ -14,6 +14,7 @@ class EOS < Oxidized::Model
cfg.gsub! /^(snmp-server community).*/, '\\1 <configuration removed>'
cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '<secret hidden>'
cfg.gsub! /^(enable secret).*/, '\\1 <configuration removed>'
+ cfg.gsub! /^(tacacs-server key \d+).*/, '\\1 <configuration removed>'
cfg
end