From 3238b588efc4bc2766edeaec9b1d0369815186f7 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Tue, 10 Nov 2009 12:04:23 -0800 Subject: preserve node.val order for term multinodes. fix for bug 5103 --- src/common/unionfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/unionfs.c b/src/common/unionfs.c index 452c774..ed40bf8 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -1023,8 +1023,9 @@ dlist_test_func(GQuark key_id,gpointer data,gpointer user_data) if (vn->_data._value == TRUE) { new_vn = copy_vyatta_node(vn); GNode *new_node = g_node_new(new_vn); - //g_node_insert(node, -1, new_node); - insert_sibling_in_order(node,new_node); + // g_node_insert(node, -1, new_node); + g_node_insert_after(node, NULL, new_node); + // insert_sibling_in_order(node,new_node); new_vn->_config._def = vn->_config._def; } else { -- cgit v1.2.3