diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-07 18:35:46 -0700 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-10-07 18:35:46 -0700 |
commit | 1929ccae6812ddbd2198791d76bc3e32133bed7d (patch) | |
tree | 844de474800ef5679e49e5c4198cb34e9bf5bdfb /scripts/VyattaConfigOutput.pm | |
parent | 40bb173efe98507b0139a35040b9c8e826ad538c (diff) | |
download | vyatta-cfg-1929ccae6812ddbd2198791d76bc3e32133bed7d.tar.gz vyatta-cfg-1929ccae6812ddbd2198791d76bc3e32133bed7d.zip |
Fix Bug 3770 vpn pre-shared keys should be obscured in "show configuration"
Diffstat (limited to 'scripts/VyattaConfigOutput.pm')
-rwxr-xr-x | scripts/VyattaConfigOutput.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaConfigOutput.pm b/scripts/VyattaConfigOutput.pm index 1933d22..fa0b274 100755 --- a/scripts/VyattaConfigOutput.pm +++ b/scripts/VyattaConfigOutput.pm @@ -75,7 +75,7 @@ sub displayValues { $default = $txt; } } - my $is_password = ($name =~ /^.*password$/); + my $is_password = ($name =~ /^.*(password|pre-shared-secret)$/); my $HIDE_PASSWORD = '****************'; $config->setLevel(join ' ', @cur_path); if ($is_multi) { |