summaryrefslogtreecommitdiff
path: root/xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xsl')
-rw-r--r--xsl/show_nat_rules.xsl7
1 files changed, 2 insertions, 5 deletions
diff --git a/xsl/show_nat_rules.xsl b/xsl/show_nat_rules.xsl
index a86233c..4df6065 100644
--- a/xsl/show_nat_rules.xsl
+++ b/xsl/show_nat_rules.xsl
@@ -185,12 +185,9 @@
<xsl:value-of select="$pad11"/>
<xsl:choose>
- <xsl:when test="$src_ports_d=''">
- <xsl:value-of select="$pad20"/>
- </xsl:when>
<xsl:when test="$src_ports_d!=''">
+ <xsl:text>src ports: </xsl:text>
<xsl:value-of select="$src_ports_d"/>
- <xsl:value-of select="substring($pad20,1,$pad20_len - string-length($src_ports_d))"/>
</xsl:when>
</xsl:choose>
<xsl:text>&newln;</xsl:text>
@@ -211,8 +208,8 @@
<xsl:choose>
<xsl:when test="$dst_ports_d!=''">
+ <xsl:text>dst ports: </xsl:text>
<xsl:value-of select="$dst_ports_d"/>
- <xsl:value-of select="substring($pad20,1,$pad20_len - string-length($dst_ports_d))"/>
</xsl:when>
</xsl:choose>
<xsl:text>&newln;</xsl:text>