diff options
author | Michael Larson <mike@ft1.vyatta.com> | 2009-09-11 15:11:56 -0700 |
---|---|---|
committer | Michael Larson <mike@ft1.vyatta.com> | 2009-09-11 15:11:56 -0700 |
commit | bc19150dee5789ca4500439594147caff85e5ddd (patch) | |
tree | 985f9755f7407ea1d570998371ec20c645d399c6 | |
parent | 9509f185e4d4d96e326035aa9f0fad1b898b5a3c (diff) | |
download | vyatta-cfg-bc19150dee5789ca4500439594147caff85e5ddd.tar.gz vyatta-cfg-bc19150dee5789ca4500439594147caff85e5ddd.zip |
add support for value tags on term multinodes. used in debugging output and accounting file.
-rw-r--r-- | src/common/unionfs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/unionfs.c b/src/common/unionfs.c index 6d71402..8721651 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -1040,7 +1040,9 @@ dlist_test_func(GQuark key_id,gpointer data,gpointer user_data) new_vn = vn; // strcat(new_vn->_data._path,"/"); strcat(new_vn->_data._path,"/value:"); - strcat(new_vn->_data._path,(char*)g_quark_to_string(key_id)); + if (vn_parent->_config._def.multi == FALSE) { + 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)); |