Skip to content

Commit

Permalink
make snmp community detection work
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasberens committed May 2, 2024
1 parent 37c4d8d commit 515f7ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/model/vyatta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Vyatta < Oxidized::Model
cfg.gsub! /plaintext-password (\S+).*/, 'plaintext-password <secret removed>'
cfg.gsub! /password (\S+).*/, 'password <secret removed>'
cfg.gsub! /pre-shared-secret (\S+).*/, 'pre-shared-secret <secret removed>'
cfg.gsub! /community (\S+) {/, 'community <hidden> {'
cfg.gsub! /community (\S+)/, 'community <hidden>'
cfg.gsub! /private-key (\S+).*/, 'private-key <secret removed>'
cfg.gsub! /preshared-key (\S+).*/, 'preshared-key <secret removed>'
cfg
Expand Down

0 comments on commit 515f7ca

Please sign in to comment.