summaryrefslogtreecommitdiff
path: root/scripts/VyattaConfig.pm
diff options
context:
space:
mode:
authorroot <root@eng-140.vyatta.com>2008-07-09 11:50:17 -0700
committerroot <root@eng-140.vyatta.com>2008-07-09 11:50:17 -0700
commit42d6c942800e2273b77ea92371ffdcb3f183163f (patch)
tree20f719fd409d57fb93c67d6a6c0be37d9598b02a /scripts/VyattaConfig.pm
parent1277a4a911cf39e0e2200eea8ecbd483d1610f2f (diff)
downloadvyatta-cfg-42d6c942800e2273b77ea92371ffdcb3f183163f.tar.gz
vyatta-cfg-42d6c942800e2273b77ea92371ffdcb3f183163f.zip
fix for bug 3441. Removed def from listOutputNodes(), which allowed other code that filters out def file to be removed.
Diffstat (limited to 'scripts/VyattaConfig.pm')
-rwxr-xr-xscripts/VyattaConfig.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/VyattaConfig.pm b/scripts/VyattaConfig.pm
index 3c4b51f..1c0eaf3 100755
--- a/scripts/VyattaConfig.pm
+++ b/scripts/VyattaConfig.pm
@@ -130,7 +130,9 @@ sub listOrigNodes {
$tmp =~ s/\n//g;
$tmp =~ s/%2F/\//g;
#print "DEBUG VyattaConfig->listNodes(): node = $tmp\n";
- push @nodes_modified, $tmp;
+ if ($tmp ne 'def') {
+ push @nodes_modified, $tmp;
+ }
}
return @nodes_modified;