From 4d47c9ee564e5c865fed3b1a6374b9317528b357 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Wed, 23 Apr 2008 11:10:46 -0700 Subject: final checkin as fix for bug 1219. --- scripts/VyattaConfigOutput.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts') 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; } -- cgit v1.2.3