diff options
author | ytti <saku@ytti.fi> | 2016-08-24 17:26:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-24 17:26:32 +0300 |
commit | 1f1672fa4c860f037e79310f53beb9172378f500 (patch) | |
tree | 58370062e7e56cdd34a90edb1a11f874a4b301f8 /lib/oxidized/model/asa.rb | |
parent | 2da8494f90d29d2278be616b20743233c91522f8 (diff) | |
parent | e2fa16b811791c7e2a0563d7b57140b4ccb2a9b4 (diff) |
Merge pull request #536 from funzoneq/master
A10 and ASA fixes
Diffstat (limited to 'lib/oxidized/model/asa.rb')
-rw-r--r-- | lib/oxidized/model/asa.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb index a41348e..df30059 100644 --- a/lib/oxidized/model/asa.rb +++ b/lib/oxidized/model/asa.rb @@ -15,7 +15,7 @@ class ASA < Oxidized::Model cfg.gsub! /username (\S+) password (\S+) (.*)/, 'username \1 password <secret hidden> \3' cfg.gsub! /ikev2 pre-shared-key (\S+)/, 'ikev2 pre-shared-key <secret hidden>' cfg.gsub! /ikev2 (remote|local)-authentication pre-shared-key (\S+)/, 'ikev2 \1-authentication pre-shared-key <secret hidden>' - cfg.gsub! /^(aaa-server TACACS\+ \(\S+\) host.*\n\skey) \S+$/m, '\1 <secret hidden>' + cfg.gsub! /^(aaa-server TACACS\+? \(\S+\) host.*\n\skey) \S+$/mi, '\1 <secret hidden>' cfg end |