[Xorp-hackers] Bug report.
杨小帅
eshe168 at gmail.com
Tue Oct 28 23:12:45 PDT 2008
when you entry a "xxx xxxx" value into txt node. The xorpsh will
pass it. But when you use show -all in CLI, the information in your
screen is wrong. Apparently, text should not be "\"abc cba\"".
exp:
yxs at Lenny621# set vlans interface 312 text "abc cba"
yxs at Lenny621# show
vlans {
interface 312 {
> text: "\"abc cba\""
}
}
BUG FIXED:
string
ConfigTreeNode::quoted_value(const string& value) const
{
string result;
...
if (x == '"')
> escaped += "\\\""; //should be escaped += "";
else
escaped += x;
...
return result;
}
B.R.
Xiaoshuai Yang
More information about the Xorp-hackers
mailing list