summaryrefslogtreecommitdiff
path: root/src/xsl
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2009-08-07 18:48:39 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2009-08-07 18:48:39 -0700
commit80a123411314371e325bda2c37d63884aab6892d (patch)
tree21d2370a2efce4254990717c4b759c09adbe23aa /src/xsl
parent597348b919276e8c75469dce652a491991df98ca (diff)
downloadvyatta-op-firewall-80a123411314371e325bda2c37d63884aab6892d.tar.gz
vyatta-op-firewall-80a123411314371e325bda2c37d63884aab6892d.zip
* Fix 'show firewall' and 'show firewall detail' commands
for firewall rulesets when protocol is tcp_udp still need to fix 'show statistics' command
Diffstat (limited to 'src/xsl')
-rw-r--r--src/xsl/show_firewall.xsl10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xsl/show_firewall.xsl b/src/xsl/show_firewall.xsl
index 273c88f..236fd2f 100644
--- a/src/xsl/show_firewall.xsl
+++ b/src/xsl/show_firewall.xsl
@@ -35,8 +35,8 @@
<xsl:variable name="pad6" select="' '"/>
<xsl:variable name="pad6_len" select="string-length($pad6)"/>
-<xsl:variable name="pad7" select="' '"/>
-<xsl:variable name="pad7_len" select="string-length($pad7)"/>
+<xsl:variable name="pad10" select="' '"/>
+<xsl:variable name="pad10_len" select="string-length($pad10)"/>
<xsl:variable name="pad8" select="' '"/>
<xsl:variable name="pad8_len" select="string-length($pad8)"/>
<xsl:variable name="pad20" select="' '"/>
@@ -48,9 +48,9 @@
<xsl:text>&newln;</xsl:text>
<xsl:text>(State Codes: E - Established, I - Invalid, N - New, R - Related)&newln;</xsl:text>
<xsl:text>&newln;</xsl:text>
-<xsl:text>rule action source destination proto state</xsl:text>
+<xsl:text>rule action source destination proto state</xsl:text>
<xsl:text>&newln;</xsl:text>
-<xsl:text>---- ------ ------ ----------- ----- ----- </xsl:text>
+<xsl:text>---- ------ ------ ----------- ----- ----- </xsl:text>
<xsl:text>&newln;</xsl:text>
<xsl:for-each select="format/row">
@@ -104,7 +104,7 @@
</xsl:choose>
<xsl:value-of select="protocol"/>
-<xsl:value-of select="substring($pad7,1,$pad7_len - string-length(protocol))"/>
+<xsl:value-of select="substring($pad10,1,$pad10_len - string-length(protocol))"/>
<xsl:choose>
<xsl:when test="contains(state, 'established%2C')">