summaryrefslogtreecommitdiff
path: root/src/cstore
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-08-03 18:56:30 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-08-03 18:56:30 -0700
commit9719a625221cc3e74e4c73c4ae223456987d0ac1 (patch)
tree1183e1eafd52cd3a3b08105aa0b7fa1e3d2711de /src/cstore
parent005d00c7361c3793708baba0d158b19e7d79b64b (diff)
downloadvyatta-cfg-9719a625221cc3e74e4c73c4ae223456987d0ac1.tar.gz
vyatta-cfg-9719a625221cc3e74e4c73c4ae223456987d0ac1.zip
remove "def" and "node.val" usage from high-level operations.
Diffstat (limited to 'src/cstore')
-rw-r--r--src/cstore/unionfs/cstore-unionfs.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.cpp b/src/cstore/unionfs/cstore-unionfs.cpp
index f2bcf46..3ac6052 100644
--- a/src/cstore/unionfs/cstore-unionfs.cpp
+++ b/src/cstore/unionfs/cstore-unionfs.cpp
@@ -488,14 +488,10 @@ UnionfsCstore::get_all_child_node_names_impl(vector<string>& cnodes,
* use a whilelist-approach, i.e., only add the following:
* node.val
* def
+ *
+ * FIXED: perl scripts have been changed to eliminate the use of "def"
+ * and "node.val", so they no longer need to be returned.
*/
- if (b_fs_exists(p / C_VAL_NAME) && b_fs_is_regular(p / C_VAL_NAME)) {
- cnodes.push_back(C_VAL_NAME);
- }
- if (b_fs_exists(p / C_MARKER_DEF_VALUE)
- && b_fs_is_regular(p / C_MARKER_DEF_VALUE)) {
- cnodes.push_back(C_MARKER_DEF_VALUE);
- }
}
bool