diff options
author | Chugzilla <chugzilla77@gmail.com> | 2014-06-08 08:30:28 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2014-06-08 19:28:19 +0000 |
commit | 1fcc673cc03ae33d554435d1d69f06fb2cdf7ad3 (patch) | |
tree | 27e921b9e6be734d50ab5a7287164e91aa7a04cd /pdml2html.xsl | |
parent | 7de3d23229211108e0f9c2fc85b2cc9f487f9423 (diff) | |
download | wireshark-1fcc673cc03ae33d554435d1d69f06fb2cdf7ad3.tar.gz wireshark-1fcc673cc03ae33d554435d1d69f06fb2cdf7ad3.tar.bz2 wireshark-1fcc673cc03ae33d554435d1d69f06fb2cdf7ad3.zip |
Bugfix pdml2html.xsl fails to expand multiple identical 'proto' tags
bug:10106
Change-Id: Iaeb63325ddd7a67345c538c0688b5efc332f1963
Reviewed-on: https://code.wireshark.org/review/2032
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'pdml2html.xsl')
-rw-r--r-- | pdml2html.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pdml2html.xsl b/pdml2html.xsl index 3e24613c80..746f1e0a05 100644 --- a/pdml2html.xsl +++ b/pdml2html.xsl @@ -67,7 +67,7 @@ <!-- loop trough all proto tags, but skip the "geninfo" one --> <xsl:for-each select="proto[@name!='geninfo']"> - <xsl:variable name="proto" select="concat($frame_id,@name)"/> + <xsl:variable name="proto" select="concat($frame_id,@name,count(preceding-sibling::proto)+1)"/> <!-- the "title" bar of the proto --> <div width="100%" style="background-color:#e5e5e5; margin-bottom: 2px"> |