diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-05-05 16:50:44 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-05-05 16:50:44 -0700 |
commit | 0d020c8b938443ac8875bcfcff231dd1bf0d1d41 (patch) | |
tree | 1f82593a10110b9b2872992e3dcdfe5a19115e32 /lib/Vyatta/ConfigOutput.pm | |
parent | 0ffdc5e6d89f9677694a8eef916b07c089264753 (diff) | |
download | vyatta-cfg-0d020c8b938443ac8875bcfcff231dd1bf0d1d41.tar.gz vyatta-cfg-0d020c8b938443ac8875bcfcff231dd1bf0d1d41.zip |
boot loader support now added. various bug fixes and some small rework.
Diffstat (limited to 'lib/Vyatta/ConfigOutput.pm')
-rwxr-xr-x | lib/Vyatta/ConfigOutput.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Vyatta/ConfigOutput.pm b/lib/Vyatta/ConfigOutput.pm index fd377d7..caa9356 100755 --- a/lib/Vyatta/ConfigOutput.pm +++ b/lib/Vyatta/ConfigOutput.pm @@ -138,7 +138,7 @@ sub displayValues { } } - my %cnodes = $config->listNodeStatus(); + my %cnodes = $config->listNodeStatus(undef,'true'); my @cnames = sort keys %cnodes; if (defined($simple_show)) { @@ -298,7 +298,7 @@ sub displayChildren { } $config->setLevel(join ' ', (@cur_path, $child)); - my %cnodes = $config->listNodeStatus(); + my %cnodes = $config->listNodeStatus(undef,'true'); my @cnames = sort keys %cnodes; #if node.val exists and ct == 0 w/o def or ct ==1 w/ def @@ -345,7 +345,7 @@ sub displayChildren { $dis, "$prefix "); } else { $config->setLevel(join ' ', (@cur_path, $child, $cname)); - my %ccnodes = $config->listNodeStatus(); + my %ccnodes = $config->listNodeStatus(undef,'true'); displayChildren(\%ccnodes, [ @cur_path, $child, $cname ], $dis, "$prefix "); } @@ -387,7 +387,7 @@ sub displayChildren { sub outputNewConfig { $config = new Vyatta::Config; $config->setLevel(join ' ', @_); - my %rnodes = $config->listNodeStatus(); + my %rnodes = $config->listNodeStatus(undef,'true'); if (scalar(keys %rnodes) > 0) { my @rn = keys %rnodes; |