From 51dc441aa4e3f753665a8ecb053687747f9122c2 Mon Sep 17 00:00:00 2001 From: Adam Smith Date: Mon, 17 Sep 2018 13:23:59 -0700 Subject: filter out BGP passwords and only user password hashes from eos (#1525) --- lib/oxidized/model/eos.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb index 6bfef87..6612116 100644 --- a/lib/oxidized/model/eos.rb +++ b/lib/oxidized/model/eos.rb @@ -11,7 +11,8 @@ class EOS < Oxidized::Model cmd :secret do |cfg| cfg.gsub! /^(snmp-server community).*/, '\\1 ' - cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '