summaryrefslogtreecommitdiff
path: root/scripts/VyattaConfigLoad.pm
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-07-10 13:37:49 -0700
committerMichael Larson <slioch@eng-140.vyatta.com>2008-07-10 13:37:49 -0700
commita2be0181a81adfca6f8fdf7c9b6190244c7146e2 (patch)
treea773f2fc1e13b29167157ebd985476875ced5afd /scripts/VyattaConfigLoad.pm
parent42d6c942800e2273b77ea92371ffdcb3f183163f (diff)
downloadvyatta-cfg-a2be0181a81adfca6f8fdf7c9b6190244c7146e2.tar.gz
vyatta-cfg-a2be0181a81adfca6f8fdf7c9b6190244c7146e2.zip
Revert "fix for bug 3441. Removed def from listOutputNodes(), which allowed other code that filters out def file to be removed."
Need to spend more time with this fix--'def' is used in locations to suppress non-user specified default values. will reapply revised fix after a bit more vetting. This reverts commit 42d6c942800e2273b77ea92371ffdcb3f183163f.
Diffstat (limited to 'scripts/VyattaConfigLoad.pm')
-rwxr-xr-xscripts/VyattaConfigLoad.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/VyattaConfigLoad.pm b/scripts/VyattaConfigLoad.pm
index c8563bb..1a7f26e 100755
--- a/scripts/VyattaConfigLoad.pm
+++ b/scripts/VyattaConfigLoad.pm
@@ -297,6 +297,9 @@ sub findDeletedNodes {
$active_cfg->setLevel(join ' ', @active_path);
my @active_nodes = $active_cfg->listOrigNodes();
foreach (@active_nodes) {
+ if ($_ eq 'def') {
+ next;
+ }
if ($_ eq 'node.val') {
findDeletedValues($new_ref, \@active_path);
next;