summaryrefslogtreecommitdiff
path: root/scripts/VyattaConfigOutput.pm
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-07-11 13:36:02 -0700
committerMichael Larson <slioch@eng-140.vyatta.com>2008-07-11 13:36:02 -0700
commit3f41fcca673762ff27328192036719eace6b6495 (patch)
treeaac791f1da45d857ac3c19b77cafa1c54b9aab09 /scripts/VyattaConfigOutput.pm
parentb72c49e6aec5c5d80b8e0192658308c339b07404 (diff)
downloadvyatta-cfg-3f41fcca673762ff27328192036719eace6b6495.tar.gz
vyatta-cfg-3f41fcca673762ff27328192036719eace6b6495.zip
fix for bug 3441. Selective stripping of the 'def' only needs to occur in one location.
hease enter the commit message for your changes.
Diffstat (limited to 'scripts/VyattaConfigOutput.pm')
-rwxr-xr-xscripts/VyattaConfigOutput.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VyattaConfigOutput.pm b/scripts/VyattaConfigOutput.pm
index 5358c21..1933d22 100755
--- a/scripts/VyattaConfigOutput.pm
+++ b/scripts/VyattaConfigOutput.pm
@@ -189,7 +189,7 @@ sub displayDeletedOrigChildren {
}
my $is_tag = $config->isTagNode([ @cur_path, $child ]);
$config->setLevel(join ' ', (@cur_path, $child));
- my @cnames = sort $config->listOrigNodes();
+ my @cnames = sort $config->listOrigNodesNoDef();
if ($cnames[0] eq 'node.val') {
displayValues([ @cur_path, $child ], $prefix, $child,