From 1929ccae6812ddbd2198791d76bc3e32133bed7d Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Tue, 7 Oct 2008 18:35:46 -0700 Subject: Fix Bug 3770 vpn pre-shared keys should be obscured in "show configuration" --- scripts/VyattaConfigOutput.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3