summaryrefslogtreecommitdiff
path: root/scripts/VyattaConfigOutput.pm
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-04-23 11:10:46 -0700
committerMichael Larson <slioch@eng-140.vyatta.com>2008-04-23 11:10:46 -0700
commit4d47c9ee564e5c865fed3b1a6374b9317528b357 (patch)
tree1af948f438175df9a4308904359493177e0d8292 /scripts/VyattaConfigOutput.pm
parent3dfd14fbb84b14cfb632171cac15546bfea79a68 (diff)
downloadvyatta-cfg-4d47c9ee564e5c865fed3b1a6374b9317528b357.tar.gz
vyatta-cfg-4d47c9ee564e5c865fed3b1a6374b9317528b357.zip
final checkin as fix for bug 1219.
Diffstat (limited to 'scripts/VyattaConfigOutput.pm')
-rwxr-xr-xscripts/VyattaConfigOutput.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/VyattaConfigOutput.pm b/scripts/VyattaConfigOutput.pm
index 2c92132..f492d5d 100755
--- a/scripts/VyattaConfigOutput.pm
+++ b/scripts/VyattaConfigOutput.pm
@@ -155,7 +155,8 @@ sub displayValues {
$diff = '>';
}
}
- if (!defined($default) || $default ne $value || $show_all) {
+# if (!defined($default) || $default ne $value || $show_all) {
+ if (!defined($default) || !$config->exists('def') || $show_all) {
if ($is_password && $hide_password) {
$value = $HIDE_PASSWORD;
}