Encapsulate all XML <FlowProbe> elements inside a single <FlowProbes> element.
authorGustavo J. A. M. Carneiro <gjc@inescporto.pt>
Tue May 26 11:36:46 2009 +0100 (8 months ago)
changeset 400259b31c58896f
parent 4001 0a912dddcfce
child 4003 fa898c209ec0
Encapsulate all XML <FlowProbe> elements inside a single <FlowProbes> element.
src/contrib/flow-monitor/flow-monitor.cc
     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;