summaryrefslogtreecommitdiff
path: root/lib/oxidized/model
diff options
context:
space:
mode:
authorAdam Smith <zero1three@gmail.com>2018-03-15 02:23:45 -0700
committerAdam Smith <zero1three@gmail.com>2018-03-15 02:23:45 -0700
commit227f1af00c6d43e9627fa2803d90617bebcd1d83 (patch)
tree05efeba363e71a5fd337176273457e7d49dc386c /lib/oxidized/model
parent05e1d505f2cc30e87b1cdcf90db966690882f610 (diff)
add hexadecimal for junos pre-shared-secret
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r--lib/oxidized/model/junos.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/junos.rb b/lib/oxidized/model/junos.rb
index 4652ab1..2ea0179 100644
--- a/lib/oxidized/model/junos.rb
+++ b/lib/oxidized/model/junos.rb
@@ -15,6 +15,7 @@ class JunOS < Oxidized::Model
cmd :secret do |cfg|
cfg.gsub!(/encrypted-password (\S+).*/, 'encrypted-password <secret removed>')
cfg.gsub!(/pre-shared-key ascii-text (\S+).*/, 'pre-shared-key ascii-text <secret removed>')
+ cfg.gsub!(/pre-shared-key hexadecimal (\S+).*/, 'pre-shared-key hexadecimal <secret removed>')
cfg.gsub!(/authentication-key (\S+).*/, 'authentication-key <secret removed>')
cfg.gsub!(/community (\S+) {/, 'community <hidden> {')
cfg