diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-08 11:46:46 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-01-08 11:46:46 -0800 |
commit | 8d083d34cc2f6dc592f71f81e60edfdd8582d845 (patch) | |
tree | d2c190b0bee969af97618f6907e6f3271219a9df /scripts/vyatta-output-config.pl | |
parent | fabea89d2586a33fb14c8e8fc489dd5fccab803d (diff) | |
download | vyatta-cfg-8d083d34cc2f6dc592f71f81e60edfdd8582d845.tar.gz vyatta-cfg-8d083d34cc2f6dc592f71f81e60edfdd8582d845.zip |
hide "password" values in output of "show configuration".
Diffstat (limited to 'scripts/vyatta-output-config.pl')
-rwxr-xr-x | scripts/vyatta-output-config.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyatta-output-config.pl b/scripts/vyatta-output-config.pl index 8eb0be8..65169f6 100755 --- a/scripts/vyatta-output-config.pl +++ b/scripts/vyatta-output-config.pl @@ -10,6 +10,7 @@ if ($ARGV[0] eq '-all') { } if ($ARGV[0] eq '-active') { shift; + VyattaConfigOutput::set_hide_password(1); VyattaConfigOutput::outputActiveConfig(@ARGV); } else { VyattaConfigOutput::outputNewConfig(@ARGV); |