From 40974351583e5d6f867389f5d0c08691eaece27a Mon Sep 17 00:00:00 2001 From: Martin Pels Date: Wed, 8 Apr 2015 09:43:15 +0200 Subject: hide enable secret when remove_secret is enabled --- lib/oxidized/model/eos.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized') diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb index 98a8c28..58bb5a9 100644 --- a/lib/oxidized/model/eos.rb +++ b/lib/oxidized/model/eos.rb @@ -13,6 +13,7 @@ class EOS < Oxidized::Model cmd :secret do |cfg| cfg.gsub! /^(snmp-server community).*/, '\\1 ' cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '