[Xorp-cvs] XORP cvs commit: xorp/rtrmgr
Pavlin Radoslavov
pavlin@icir.org
Fri, 1 Jul 2005 23:36:00 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-07-01 23:36:00 UTC
XORP CVS repository
Modified files:
rtrmgr cli.cc
Log message:
Add missing set_operator(OP_ASSIGN) for new leaf nodes that were
created by the xorpsh "set" command.
Previously, if we were assigning the value of a leaf node for a
very first time (e.g., it didn't have even a default value in
the rtrmgr template file), then its operator type was OP_NONE,
and the ConfigTreeNode::show_subtree() method failed to show its
value.
Bug found by: Andrea Bittau
Revision Changes Path
1.66 +2 -1; commitid: 2edb42c5d25e7ea6; xorp/rtrmgr/cli.cc