git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91f523a
)
Small bug fix for case when kbps not specified
author
Andy Bavier
<acb@cs.princeton.edu>
Thu, 12 Nov 2009 18:21:12 +0000
(18:21 +0000)
committer
Andy Bavier
<acb@cs.princeton.edu>
Thu, 12 Nov 2009 18:21:12 +0000
(18:21 +0000)
sfatables/processors/max_link_kbps.xsl
patch
|
blob
|
history
diff --git
a/sfatables/processors/max_link_kbps.xsl
b/sfatables/processors/max_link_kbps.xsl
index
b6776e1
..
1bf70db
100644
(file)
--- a/
sfatables/processors/max_link_kbps.xsl
+++ b/
sfatables/processors/max_link_kbps.xsl
@@
-28,10
+28,10
@@
<!-- Fill in missing kbps values -->
<xsl:template match="LinkSpec[not(kbps)]">
-
<xsl:copy>
- <xsl:copy-of select="
.
"/>
+ <xsl:copy>
+ <xsl:copy-of select="
@* | *
"/>
<kbps><xsl:value-of select="$max-link-kbps"/></kbps>
- </xsl:copy>
+
</xsl:copy>
</xsl:template>
<xsl:template match="sfatables-input"/>