diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-06-23 15:22:07 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-06-23 15:22:07 -0700 |
commit | a12ea86c1f091ed9f7161179f0939c8b33da5394 (patch) | |
tree | 9dc6aed2a72bc5e3381557f966918400a1dfe0f2 /lib/Vyatta/ConfigOutput.pm | |
parent | 6b42d818585a4f10cfb5af55bc8d09cee27284da (diff) | |
download | vyatta-cfg-a12ea86c1f091ed9f7161179f0939c8b33da5394.tar.gz vyatta-cfg-a12ea86c1f091ed9f7161179f0939c8b33da5394.zip |
remove unneeded API function
Diffstat (limited to 'lib/Vyatta/ConfigOutput.pm')
-rwxr-xr-x | lib/Vyatta/ConfigOutput.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/ConfigOutput.pm b/lib/Vyatta/ConfigOutput.pm index 10cd5f2..1218a8d 100755 --- a/lib/Vyatta/ConfigOutput.pm +++ b/lib/Vyatta/ConfigOutput.pm @@ -231,7 +231,7 @@ sub displayDeletedOrigChildren { $config->setLevel(join ' ', (@cur_path, $child)); - my @cnames = sort $config->listOrigNodesNoDef(undef,'true'); + my @cnames = grep(!/^def$/, sort($config->listOrigNodes(undef,'true'))); if ($cnames[0] eq 'node.val') { displayValues([ @cur_path, $child ], $dis, $prefix, $child, |