summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <mike@ft1.vyatta.com>2009-09-10 13:42:58 -0700
committerMichael Larson <mike@ft1.vyatta.com>2009-09-15 13:22:50 -0700
commit35afad2b71464b88a3fbf21a51b53f5103ff6917 (patch)
tree93e7d0230cea4edf2fc79695bb9058105a465763
parent352f05c681659e8ff9f0631d3e8be6b5cad24b67 (diff)
downloadvyatta-cfg-35afad2b71464b88a3fbf21a51b53f5103ff6917.tar.gz
vyatta-cfg-35afad2b71464b88a3fbf21a51b53f5103ff6917.zip
add leaf values to path data structures. will show in disgnostic output from commit and via .changes
file used for commit active node set.
-rw-r--r--src/common/unionfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/unionfs.c b/src/common/unionfs.c
index 5ef6618..6d71402 100644
--- a/src/common/unionfs.c
+++ b/src/common/unionfs.c
@@ -1039,7 +1039,8 @@ dlist_test_func(GQuark key_id,gpointer data,gpointer user_data)
else {
new_vn = vn;
// strcat(new_vn->_data._path,"/");
- strcat(new_vn->_data._path,"/value");
+ strcat(new_vn->_data._path,"/value:");
+ strcat(new_vn->_data._path,(char*)g_quark_to_string(key_id));
}
new_vn->_data._value = TRUE;
strcpy(new_vn->_data._name,(char*)g_quark_to_string(key_id));