summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-04-23 12:19:27 -0700
committerMichael Larson <slioch@eng-140.vyatta.com>2008-04-23 12:19:27 -0700
commitea82e707fed342ef019b5fd5e2e359eebb337b03 (patch)
tree81e4438515bf6c22f69b1e6ef7cb4989c6aaad02
parent4d47c9ee564e5c865fed3b1a6374b9317528b357 (diff)
downloadvyatta-cfg-ea82e707fed342ef019b5fd5e2e359eebb337b03.tar.gz
vyatta-cfg-ea82e707fed342ef019b5fd5e2e359eebb337b03.zip
backing out show cmd change for now on existence of def
-rwxr-xr-xscripts/VyattaConfigOutput.pm4
1 files 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;
}