summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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;
}