diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2008-10-30 18:00:00 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2008-10-30 18:00:00 -0700 |
commit | c028dfaab14b558ddb73154710c664009567dddd (patch) | |
tree | 8661b6fa7a70b44aaec1f6cb0b984b65a08cf967 | |
parent | 83915cb7cbdbe75c0de98bd1d0e2e60f92d93259 (diff) | |
download | vyatta-nat-c028dfaab14b558ddb73154710c664009567dddd.tar.gz vyatta-nat-c028dfaab14b558ddb73154710c664009567dddd.zip |
fix for bug 3636: change output format
-rw-r--r-- | xsl/show_nat_statistics.xsl | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xsl/show_nat_statistics.xsl b/xsl/show_nat_statistics.xsl index 140f98c..a9908a6 100644 --- a/xsl/show_nat_statistics.xsl +++ b/xsl/show_nat_statistics.xsl @@ -48,9 +48,9 @@ <xsl:text>&newln;</xsl:text> <xsl:text>Type Codes: SRC - source, DST - destination, MASQ - masquerade&newln;</xsl:text> <xsl:text>&newln;</xsl:text> -<xsl:text>rule packets bytes type IN OUT</xsl:text> +<xsl:text>rule count type IN OUT</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"> @@ -61,9 +61,6 @@ <xsl:value-of select="pkts"/> <xsl:value-of select="substring($pad10,1,$pad10_len - string-length(pkts))"/> -<xsl:value-of select="bytes"/> -<xsl:value-of select="substring($pad10,1,$pad10_len - string-length(bytes))"/> - <xsl:choose> <xsl:when test="type='source'"> <xsl:text>SRC </xsl:text> |