[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Pavlin Radoslavov
pavlin@icir.org
Thu, 6 Apr 2006 00:03:54 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2006-04-06 00:03:54 UTC
XORP CVS repository
Modified files:
rtrmgr conf_tree_node.cc conf_tree_node.hh
master_conf_tree_node.cc master_conf_tree_node.hh
Log message:
Remove the sort_by_value() method and always use the
sort_by_template() mechanism, because sort_by_value() is
not really useful.
The only difference between them is that the former leaves
nodes unsorted if they have different templates.
The sort_by_value() method has been (mis)used in several places
and the result of this is undeterministic ordering of some of the
configuration nodes (e.g., leaf nodes with values may be in the
order they have been added by xorpsh).
Revision Changes Path
1.111 +8 -50; commitid: ec1443459cd7ea6; xorp/rtrmgr/conf_tree_node.cc
1.63 +2 -7; commitid: ec1443459cd7ea6; xorp/rtrmgr/conf_tree_node.hh
1.22 +1 -7; commitid: ec1443459cd7ea6; xorp/rtrmgr/master_conf_tree_node.cc
1.18 +1 -2; commitid: ec1443459cd7ea6; xorp/rtrmgr/master_conf_tree_node.hh