Encapsulate all XML <FlowProbe> elements inside a single <FlowProbes> element.
1.1 --- a/src/contrib/flow-monitor/flow-monitor.cc Mon May 25 15:52:04 2009 +0100
1.2 +++ b/src/contrib/flow-monitor/flow-monitor.cc Tue May 26 11:36:46 2009 +0100
1.3 @@ -430,10 +430,14 @@
1.4
1.5 if (enableProbes)
1.6 {
1.7 + INDENT(indent); os << "<FlowProbes>\n";
1.8 + indent += 2;
1.9 for (uint32_t i = 0; i < m_flowProbes.size (); i++)
1.10 {
1.11 m_flowProbes[i]->SerializeToXmlStream (os, indent, i);
1.12 }
1.13 + indent -= 2;
1.14 + INDENT(indent); os << "</FlowProbes>\n";
1.15 }
1.16
1.17 indent -= 2;