summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichael Larson <slioch@eng-140.vyatta.com>2008-06-17 10:55:11 -0700
committerMichael Larson <slioch@eng-140.vyatta.com>2008-06-17 10:55:11 -0700
commit8f1c7d3f0eb43ca080acb83e880af7403117c9cd (patch)
treede295273b2f586c7452cf927fb4ef3fbe633cdfb /scripts
parent4f12bac0dd00c1471fa8b1c6cf677e3a7680bc5f (diff)
downloadvyatta-cfg-8f1c7d3f0eb43ca080acb83e880af7403117c9cd.tar.gz
vyatta-cfg-8f1c7d3f0eb43ca080acb83e880af7403117c9cd.zip
fix for bug 3347--skip def file.o
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/VyattaConfigLoad.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/VyattaConfigLoad.pm b/scripts/VyattaConfigLoad.pm
index d202938..90011f6 100755
--- a/scripts/VyattaConfigLoad.pm
+++ b/scripts/VyattaConfigLoad.pm
@@ -295,6 +295,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;