Bug fix that was dropping the nodespec's attributes.
authorSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 9 Nov 2009 22:01:53 +0000 (22:01 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Mon, 9 Nov 2009 22:01:53 +0000 (22:01 +0000)
sfatables/processors/max_node_kbps.xsl

index d7c0060..c23cd7d 100644 (file)
@@ -29,7 +29,7 @@
   <!-- Fill in missing kbps values --> 
   <xsl:template match="NodeSpec[not(max_rate)]">
       <xsl:copy>
-          <xsl:copy-of select="*"/>
+          <xsl:copy-of select="."/>
           <max_rate><xsl:value-of select="$max-node-kbps"/></max_rate>
       </xsl:copy>
   </xsl:template>