From ea82e707fed342ef019b5fd5e2e359eebb337b03 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Wed, 23 Apr 2008 12:19:27 -0700 Subject: backing out show cmd change for now on existence of def --- scripts/VyattaConfigOutput.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/VyattaConfigOutput.pm b/scripts/VyattaConfigOutput.pm index f492d5d..e67e7f3 100755 --- a/scripts/VyattaConfigOutput.pm +++ b/scripts/VyattaConfigOutput.pm @@ -155,8 +155,8 @@ sub displayValues { $diff = '>'; } } -# if (!defined($default) || $default ne $value || $show_all) { - if (!defined($default) || !$config->exists('def') || $show_all) { +# if (!defined($default) || !$config->exists('def') || $show_all) { + if (!defined($default) || $default ne $value || $show_all) { if ($is_password && $hide_password) { $value = $HIDE_PASSWORD; } -- cgit v1.2.3