summaryrefslogtreecommitdiff
path: root/src
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-10 13:42:58 -0700
commit2cdab905bb8b92a00c8e57e638a9ccbc3244df65 (patch)
tree0ff95c5a4e7ea200c5d27e352b05f5153f59f15e /src
parent8ae9a946fe8ef3898ed21e3f780b6c93153b6713 (diff)
downloadvyatta-cfg-2cdab905bb8b92a00c8e57e638a9ccbc3244df65.tar.gz
vyatta-cfg-2cdab905bb8b92a00c8e57e638a9ccbc3244df65.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.
Diffstat (limited to 'src')
-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));