From 8f1c7d3f0eb43ca080acb83e880af7403117c9cd Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Tue, 17 Jun 2008 10:55:11 -0700 Subject: fix for bug 3347--skip def file.o --- scripts/VyattaConfigLoad.pm | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3